C# Class EnnemyAI, Enclave

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public bool Atack
return bool

AttackDelay public_oe property

public float AttackDelay
return float

EnemyVitalityMax public_oe property

public int EnemyVitalityMax
return int

PlayerLife public_oe property

public float PlayerLife
return float

Power public_oe property

public float Power
return float

Vitesse public_oe property

public float Vitesse
return float

xpGave public_oe property

public int xpGave
return int