C# Class ReceiveDamage, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Show file Open project: kalby/SpaceCOG-Prototype Class Usage Examples

Public Properties

Property Type Description
currentHealth int
maximumHealth int

Public Methods

Method Description
CheckForKill ( GameObject killingPlayer ) : void
Death ( ) : void
Hit ( int damage ) : void
Start ( ) : void
Update ( ) : void

Method Details

CheckForKill() public method

public CheckForKill ( GameObject killingPlayer ) : void
killingPlayer GameObject
return void

Death() public method

public Death ( ) : void
return void

Hit() public method

public Hit ( int damage ) : void
damage int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

currentHealth public property

public int currentHealth
return int

maximumHealth public property

public int maximumHealth
return int