C# Class TileSelectionState, MagesOfBlight

State handles selecting Tiles on the Hex Grid. Allows selection of any Tile Will only transition to ActionSelectionState if the current Tile has a TileAgent of the currently acting Battle Team
Inheritance: BaseCombatState
Mostra file Open project: DomCristaldi/MagesOfBlight Class Usage Examples

Public Properties

Property Type Description
actionMenuOpen bool

Public Methods

Method Description
TileSelectionState ( BattleManager, thisCombatPhase, bool canUndo = true, bool canHoverGrid = true ) : System.Collections
UpdateState ( ) : void

Private Methods

Method Description
HandleActionSelection ( ) : void
HandleTileSelection ( ) : void
SwitchToActionSelection ( ) : void
SwitchToTileSelection ( ) : void

Method Details

TileSelectionState() public method

public TileSelectionState ( BattleManager, thisCombatPhase, bool canUndo = true, bool canHoverGrid = true ) : System.Collections
thisCombatPhase BattleManager,
canUndo bool
canHoverGrid bool
return System.Collections

UpdateState() public method

public UpdateState ( ) : void
return void

Property Details

actionMenuOpen public_oe property

public bool actionMenuOpen
return bool