Module: BattleUI::TargetSelectionAbstraction

Included in:
TargetSelection
Defined in:
docs/5_Battle_01_Scene.rb

Overview

Abstraction of the Target Selection to comply with what the Visual expect

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#result ⇒ Array, :cancel

The position (bank, position) of the choosen target

Returns:

  • (Array, :cancel)


640
641
642
# File 'docs/5_Battle_01_Scene.rb', line 640

def result
  @result
end

Instance Method Details

#validated? ⇒ Boolean

If the player made a choice

Returns:

  • (Boolean)


643
644
# File 'docs/5_Battle_01_Scene.rb', line 643

def validated?
end