C# Class DamageableEntity, kaijurising

Inheritance: MonoBehaviour, IDamageable
Show file Open project: Moehammered/kaijurising Class Usage Examples

Public Properties

Property Type Description
health float
isDead bool
onModifyDeath ModifyDeathDelegate
onModifyHealth ModifyHealthDelegate
sounds KaijuSounds,

Public Methods

Method Description
kill ( ) : void
modifyHealth ( float amount ) : void

Protected Methods

Method Description
Start ( ) : void

Private Methods

Method Description
nameChecker ( string checkingEntity ) : string

Method Details

Start() protected method

protected Start ( ) : void
return void

kill() public method

public kill ( ) : void
return void

modifyHealth() public method

public modifyHealth ( float amount ) : void
amount float
return void

Property Details

health public property

public float health
return float

isDead public property

public bool isDead
return bool

onModifyDeath public property

public ModifyDeathDelegate onModifyDeath
return ModifyDeathDelegate

onModifyHealth public property

public ModifyHealthDelegate onModifyHealth
return ModifyHealthDelegate

sounds public property

public KaijuSounds, sounds
return KaijuSounds,