C# Class BoxHealth, SlashRunner

Inheritance: MonoBehaviour, AvatarAttackListener
Mostrar archivo Open project: matthewAURA/SlashRunner Class Usage Examples

Public Properties

Property Type Description
hp int
isEnemy bool

Public Methods

Method Description
OnAvatarAttack ( Avatar attack ) : void
OnEnemyAttack ( ) : void
Start ( ) : void
Update ( ) : void
die ( ) : void
takeDamage ( int amount ) : void

Method Details

OnAvatarAttack() public method

public OnAvatarAttack ( Avatar attack ) : void
attack Avatar
return void

OnEnemyAttack() public method

public OnEnemyAttack ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

die() public method

public die ( ) : void
return void

takeDamage() public method

public takeDamage ( int amount ) : void
amount int
return void

Property Details

hp public_oe property

public int hp
return int

isEnemy public_oe property

public bool isEnemy
return bool