Class: Battle::Logic::EndTurnHandler
- Includes:
- Hooks
- Defined in:
- docs/5_Battle_04_Logic.rb
Overview
Handler responsive of calling all the end turn events
Class Method Summary collapse
-
.register_end_turn_event(reason) {|logic, scene, battlers| ... }
Register a end turn event.
Instance Method Summary collapse
-
#initialize(logic, scene) ⇒ EndTurnHandler
constructor
Create a new end turn handler.
-
#process_events
Function that call all the events (end_turn_event).
Methods included from Hooks
#exec_hooks, #force_return, included, register, remove, remove_without_name
Constructor Details
#initialize(logic, scene) ⇒ EndTurnHandler
Create a new end turn handler
1396 1397 |
# File 'docs/5_Battle_04_Logic.rb', line 1396 def initialize(logic, scene) end |
Class Method Details
.register_end_turn_event(reason) {|logic, scene, battlers| ... }
Register a end turn event
1407 1408 |
# File 'docs/5_Battle_04_Logic.rb', line 1407 def register_end_turn_event(reason) end |
Instance Method Details
#process_events
Function that call all the events (end_turn_event)
1399 1400 |
# File 'docs/5_Battle_04_Logic.rb', line 1399 def process_events end |