C# Class EnnemyAI, Enclave

Inheritance: MonoBehaviour
Show file Open project: BenjaminDo/Enclave Class Usage Examples

Public Properties

Property Type Description
Atack bool
AttackDelay float
EnemyVitalityMax int
PlayerLife float
Power float
Vitesse float
xpGave int

Public Methods

Method Description
Attack ( ) : void
Death ( ) : void
GetMaxVitality ( ) : float
GetVitality ( ) : int
SetVitality ( int value ) : void
UpdateVitality ( int value ) : void

Private Methods

Method Description
Awake ( ) : void
ComingHome ( ) : void
Hunting ( ) : void
SetValues ( ) : void
Start ( ) : void
Update ( ) : void
Wandering ( ) : void

Method Details

Attack() public method

public Attack ( ) : void
return void

Death() public method

public Death ( ) : void
return void

GetMaxVitality() public method

public GetMaxVitality ( ) : float
return float

GetVitality() public method

public GetVitality ( ) : int
return int

SetVitality() public method

public SetVitality ( int value ) : void
value int
return void

UpdateVitality() public method

public UpdateVitality ( int value ) : void
value int
return void

Property Details

Atack public property

public bool Atack
return bool

AttackDelay public property

public float AttackDelay
return float

EnemyVitalityMax public property

public int EnemyVitalityMax
return int

PlayerLife public property

public float PlayerLife
return float

Power public property

public float Power
return float

Vitesse public property

public float Vitesse
return float

xpGave public property

public int xpGave
return int