C# Class HealthManager, Joyful

Inheritance: MonoBehaviour, IDamageable, ILiving
ファイルを表示 Open project: GDCASU/Joyful Class Usage Examples

Public Properties

Property Type Description
healthBar Slider,
isDead bool
maxPlayerHealth int
playerHealth int

Public Methods

Method Description
FullHealth ( ) : void
HurtPlayer ( int damageToGive ) : void
healthRecovery ( int healthToRecover ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

FullHealth() public method

public FullHealth ( ) : void
return void

HurtPlayer() public static method

public static HurtPlayer ( int damageToGive ) : void
damageToGive int
return void

healthRecovery() public static method

public static healthRecovery ( int healthToRecover ) : void
healthToRecover int
return void

Property Details

healthBar public_oe property

public Slider, healthBar
return Slider,

isDead public_oe property

public bool isDead
return bool

maxPlayerHealth public_oe static_oe property

public static int maxPlayerHealth
return int

playerHealth public_oe static_oe property

public static int playerHealth
return int