C# Class StarWarrior.Components.HealthComponent

The health.
Inheritance: IComponent
Show file Open project: thelinuxlich/starwarrior_CSharp

Public Methods

Method Description
AddDamage ( int damage ) : void

The add damage.

HealthComponent ( ) : System

Initializes a new instance of the HealthComponent class.

HealthComponent ( float points ) : System

Initializes a new instance of the HealthComponent class.

Method Details

AddDamage() public method

The add damage.
public AddDamage ( int damage ) : void
damage int The damage.
return void

HealthComponent() public method

Initializes a new instance of the HealthComponent class.
public HealthComponent ( ) : System
return System

HealthComponent() public method

Initializes a new instance of the HealthComponent class.
public HealthComponent ( float points ) : System
points float The points.
return System