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

#resultArray, :cancel

The position (bank, position) of the choosen target

Returns:

  • (Array, :cancel)


525
526
527
# File 'docs/5_Battle_01_Scene.rb', line 525

def result
  @result
end

Instance Method Details

#validated?Boolean

If the player made a choice

Returns:

  • (Boolean)


528
529
# File 'docs/5_Battle_01_Scene.rb', line 528

def validated?
end