Property | Type | Description | |
---|---|---|---|
floorOffset | float | ||
mouseSpriteMove | GameObject | ||
selected | bool | ||
team | int |
Property | Type | Description | |
---|---|---|---|
attackFrequency | int | ||
attackStrength | float | ||
destination | Vector3 | ||
distanceAttack | float | ||
distancePercept | float | ||
env | Environnement, | ||
initialVectorScale | Vector3 | ||
speed | float | ||
stopDistanceOffset | float |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
destroy ( ) : void | ||
getAttackFrequency ( ) : int | ||
getAttackStrength ( ) : float | ||
getDestination ( ) : Vector3 | ||
getDistanceAttack ( ) : float | ||
getDistancePercept ( ) : float | ||
getEnergy ( ) : float | ||
getEnergyMax ( ) : float | ||
getEnv ( ) : Environnement, | ||
getId ( ) : int | ||
getNbFrameSinceLastShot ( ) : int | ||
getProximityEnemies ( ) : List |
||
getProximityProds ( ) : List |
||
getProximityTriangleProds ( ) : List |
||
getSpeed ( ) : float | ||
getStopDistanceOffset ( ) : float | ||
getTeam ( ) : int | ||
goTo ( Vector3 dest ) : void | ||
mustDie ( ) : bool | ||
reduceEnergy ( float dmg ) : void | ||
setDestination ( Vector3 dest ) : void | ||
setId ( int newId ) : void | ||
setNbFrameSinceLastShot ( int newNbFrame ) : void | ||
setTeam ( int newTeam ) : void |
Method | Description | |
---|---|---|
computeUnityScale ( ) : void | ||
setInitialEnergy ( float newenergy ) : void |
Method | Description | |
---|---|---|
OnMouseDown ( ) : void | ||
OnMouseUp ( ) : void |
public setDestination ( Vector3 dest ) : void | ||
dest | Vector3 | |
return | void |
protected setInitialEnergy ( float newenergy ) : void | ||
newenergy | float | |
return | void |
public setNbFrameSinceLastShot ( int newNbFrame ) : void | ||
newNbFrame | int | |
return | void |