C# Class EnemyHealth, Castle-Bashers

Inheritance: MonoBehaviour
Mostrar archivo Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Public Properties

Property Type Description
startingHealth float

Public Methods

Method Description
Death ( ) : void
Start ( ) : void
getCurrentHp ( ) : float
regen ( ) : void
takeDamage ( float dmg ) : void

Method Details

Death() public method

public Death ( ) : void
return void

Start() public method

public Start ( ) : void
return void

getCurrentHp() public method

public getCurrentHp ( ) : float
return float

regen() public method

public regen ( ) : void
return void

takeDamage() public method

public takeDamage ( float dmg ) : void
dmg float
return void

Property Details

startingHealth public_oe property

public float startingHealth
return float