Class: Battle::Actions::Base
Overview
Base class for all actions
Instance Method Summary collapse
-
#<=>(other) ⇒ Integer
Compare this action with another.
-
#execute
Execute the action.
-
#initialize(scene) ⇒ Base
constructor
Creates a new action.
-
#valid? ⇒ Boolean
Tell if the action is valid.
Constructor Details
#initialize(scene) ⇒ Base
Creates a new action
8 9 |
# File 'docs/5_Battle_05_Actions.rb', line 8 def initialize(scene) end |
Instance Method Details
#<=>(other) ⇒ Integer
Compare this action with another
13 14 |
# File 'docs/5_Battle_05_Actions.rb', line 13 def <=>(other) end |
#execute
Execute the action
20 21 |
# File 'docs/5_Battle_05_Actions.rb', line 20 def execute end |
#valid? ⇒ Boolean
Tell if the action is valid
17 18 |
# File 'docs/5_Battle_05_Actions.rb', line 17 def valid? end |