C# Class BaseCombatState, MagesOfBlight

Mostrar archivo Open project: DomCristaldi/MagesOfBlight Class Usage Examples

Public Properties

Property Type Description
canHoverGrid bool

Protected Properties

Property Type Description
ConfirmationChecker Coroutine
battleManRef BattleManager,
canUndo bool
phase BattleManager.CombatPhase
prevPhase BattleManager.CombatPhase
undoingState bool

Public Methods

Method Description
BaseCombatState ( BattleManager, thisCombatPhase, bool canUndo = false, bool canHoverGrid = false ) : System.Collections
EndState ( ) : void
InitState ( ) : void
UpdateState ( ) : void

Protected Methods

Method Description
ConfirmationLock ( ConfirmationFunc func, BattleManager, succeed, BattleManager, fail ) : void
HandleCancelState ( ) : void
RunCheckFunction ( ConfirmationFunc func ) : IEnumerator

Method Details

BaseCombatState() public method

public BaseCombatState ( BattleManager, thisCombatPhase, bool canUndo = false, bool canHoverGrid = false ) : System.Collections
thisCombatPhase BattleManager,
canUndo bool
canHoverGrid bool
return System.Collections

ConfirmationLock() protected method

protected ConfirmationLock ( ConfirmationFunc func, BattleManager, succeed, BattleManager, fail ) : void
func ConfirmationFunc
succeed BattleManager,
fail BattleManager,
return void

EndState() public method

public EndState ( ) : void
return void

HandleCancelState() protected method

protected HandleCancelState ( ) : void
return void

InitState() public method

public InitState ( ) : void
return void

RunCheckFunction() protected method

protected RunCheckFunction ( ConfirmationFunc func ) : IEnumerator
func ConfirmationFunc
return IEnumerator

UpdateState() public method

public UpdateState ( ) : void
return void

Property Details

ConfirmationChecker protected_oe property

protected Coroutine ConfirmationChecker
return Coroutine

battleManRef protected_oe property

protected BattleManager, battleManRef
return BattleManager,

canHoverGrid public_oe property

Base State for all Combat States Handles making a connection with the Battle Manager, TODO: Confirmation locks
public bool canHoverGrid
return bool

canUndo protected_oe property

protected bool canUndo
return bool

phase protected_oe property

protected BattleManager.CombatPhase phase
return BattleManager.CombatPhase

prevPhase protected_oe property

protected BattleManager.CombatPhase prevPhase
return BattleManager.CombatPhase

undoingState protected_oe property

protected bool undoingState
return bool