C# Class CircleUnits, RTSmini

Inheritance: Units
Afficher le fichier Open project: Arihy/RTSmini

Méthodes publiques

Свойство Type Description
STATE_ATTACK StateCircleUnit,
STATE_BIRTH StateCircleUnit,
STATE_DEATH StateCircleUnit,
STATE_GOINGTO StateCircleUnit,
STATE_IDLE StateCircleUnit,
STATE_PROD StateCircleUnit,
STATE_TRIANGLEPROD StateCircleUnit,
audioAttack UnityEngine.AudioClip
audioPop UnityEngine.AudioClip

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
getSupporting ( ) : GameObject
move ( ) : void
setCurrentState ( StateCircleUnit, newState ) : void
signalProdDeath ( ) : void
suscribeSupport ( GameObject batProds ) : bool
unsuscribeSupport ( GameObject batProds ) : bool

Private Methods

Méthode Description
attack ( ) : void
checkNewState ( ) : void
playAnim ( ) : void
playSound ( ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

getSupporting() public méthode

public getSupporting ( ) : GameObject
Résultat GameObject

move() public méthode

public move ( ) : void
Résultat void

setCurrentState() public méthode

public setCurrentState ( StateCircleUnit, newState ) : void
newState StateCircleUnit,
Résultat void

signalProdDeath() public méthode

public signalProdDeath ( ) : void
Résultat void

suscribeSupport() public méthode

public suscribeSupport ( GameObject batProds ) : bool
batProds GameObject
Résultat bool

unsuscribeSupport() public méthode

public unsuscribeSupport ( GameObject batProds ) : bool
batProds GameObject
Résultat bool

Property Details

STATE_ATTACK public_oe property

public StateCircleUnit, STATE_ATTACK
Résultat StateCircleUnit,

STATE_BIRTH public_oe property

public StateCircleUnit, STATE_BIRTH
Résultat StateCircleUnit,

STATE_DEATH public_oe property

public StateCircleUnit, STATE_DEATH
Résultat StateCircleUnit,

STATE_GOINGTO public_oe property

public StateCircleUnit, STATE_GOINGTO
Résultat StateCircleUnit,

STATE_IDLE public_oe property

public StateCircleUnit, STATE_IDLE
Résultat StateCircleUnit,

STATE_PROD public_oe property

public StateCircleUnit, STATE_PROD
Résultat StateCircleUnit,

STATE_TRIANGLEPROD public_oe property

public StateCircleUnit, STATE_TRIANGLEPROD
Résultat StateCircleUnit,

audioAttack public_oe property

public AudioClip,UnityEngine audioAttack
Résultat UnityEngine.AudioClip

audioPop public_oe property

public AudioClip,UnityEngine audioPop
Résultat UnityEngine.AudioClip