Class: Battle::Move::SecretPower::SPC

Inherits:
Object
  • Object
show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Secret Power Card to pick

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mock, type, *params) ⇒ SPC

Create a new Secret Power possibility

Parameters:

  • mock (Symbol, Integer)

    ID or db_symbol of the animation move

  • type (Symbol)

    name of the function to call

  • params (Array<Object>)

    params to pass to the function



5844
5845
# File 'docs/5_Battle_10_Move.rb', line 5844

def initialize(mock, type, *params)
end

Instance Attribute Details

#mock (readonly)

Returns the value of attribute mock.



5839
5840
5841
# File 'docs/5_Battle_10_Move.rb', line 5839

def mock
  @mock
end

#params (readonly)

Returns the value of attribute params.



5839
5840
5841
# File 'docs/5_Battle_10_Move.rb', line 5839

def params
  @params
end

#type (readonly)

Returns the value of attribute type.



5839
5840
5841
# File 'docs/5_Battle_10_Move.rb', line 5839

def type
  @type
end

Instance Method Details

#to_s



5846
5847
# File 'docs/5_Battle_10_Move.rb', line 5846

def to_s
end