Свойство | 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 |
Свойство | Type | Description | |
---|---|---|---|
m_active | bool | ||
m_currentGrid | GameObject | ||
m_engine | GameEngine | ||
m_hasAttacked | bool | ||
m_hasMoved | bool |
Méthode | 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 |
Méthode | Description | |
---|---|---|
DelayedHPBarUpdate ( int amount, float delay ) : IEnumerator | ||
UpdateButtonStatus ( ) : void |
public InitialiseUnit ( GameEngine, engine, GameObject currentGrid ) : void | ||
engine | GameEngine, | |
currentGrid | GameObject | |
Résultat | void |
public IsEnemyOf ( int currControl ) : bool | ||
currControl | int | |
Résultat | bool |
public LoseHealthBy ( int amount, float delay ) : void | ||
amount | int | |
delay | float | |
Résultat | void |