Property | Type | Description | |
---|---|---|---|
m_armorType | ArmorType | ||
m_attackRange | int | ||
m_attackType | AttackType | ||
m_control | int | ||
m_damage | int | ||
m_maxAP | int | ||
m_maxHealth | int | ||
m_movementRange | int |
Property | Type | Description | |
---|---|---|---|
m_active | bool | ||
m_currentGrid | GameObject | ||
m_engine | GameEngine | ||
m_hasAttacked | bool | ||
m_hasMoved | bool |
Method | Description | |
---|---|---|
Activate ( ) : void | ||
Attack ( GameObject tar ) : int | ||
AttackButtonAction ( ) : void | ||
AttackFinished ( ) : void | ||
CommandCancelled ( ) : void | ||
EndButtonAction ( ) : void | ||
GetPositionOnMap ( ) : IntVector2, | ||
InitialiseUnit ( GameEngine, engine, GameObject currentGrid ) : void | ||
IsEnemyOf ( int currControl ) : bool | ||
LoseHealthBy ( int amount, float delay ) : void | ||
Move ( GameObject dest ) : void | ||
MoveButtonAction ( ) : void | ||
MoveFinished ( ) : void |
Method | Description | |
---|---|---|
DelayedHPBarUpdate ( int amount, float delay ) : IEnumerator | ||
UpdateButtonStatus ( ) : void |
public InitialiseUnit ( GameEngine, engine, GameObject currentGrid ) : void | ||
engine | GameEngine, | |
currentGrid | GameObject | |
return | void |
public LoseHealthBy ( int amount, float delay ) : void | ||
amount | int | |
delay | float | |
return | void |