Property | Type | Description | |
---|---|---|---|
STATE_ATTACK | StateCircleUnit, | ||
STATE_BIRTH | StateCircleUnit, | ||
STATE_DEATH | StateCircleUnit, | ||
STATE_GOINGTO | StateCircleUnit, | ||
STATE_IDLE | StateCircleUnit, | ||
STATE_PROD | StateCircleUnit, | ||
STATE_TRIANGLEPROD | StateCircleUnit, | ||
audioAttack | |||
audioPop |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
getSupporting ( ) : GameObject | ||
move ( ) : void | ||
setCurrentState ( StateCircleUnit, newState ) : void | ||
signalProdDeath ( ) : void | ||
suscribeSupport ( GameObject batProds ) : bool | ||
unsuscribeSupport ( GameObject batProds ) : bool |
Method | Description | |
---|---|---|
attack ( ) : void | ||
checkNewState ( ) : void | ||
playAnim ( ) : void | ||
playSound ( ) : void |
public setCurrentState ( StateCircleUnit, newState ) : void | ||
newState | StateCircleUnit, | |
return | void |
public suscribeSupport ( GameObject batProds ) : bool | ||
batProds | GameObject | |
return | bool |
public unsuscribeSupport ( GameObject batProds ) : bool | ||
batProds | GameObject | |
return | bool |
public StateCircleUnit, STATE_TRIANGLEPROD | ||
return | StateCircleUnit, |
public AudioClip,UnityEngine audioAttack | ||
return |