C# Class StarWarrior.Components.HealthComponent

The health.
Inheritance: IComponent
Afficher le fichier Open project: thelinuxlich/starwarrior_CSharp

Méthodes publiques

Méthode 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 méthode

The add damage.
public AddDamage ( int damage ) : void
damage int The damage.
Résultat void

HealthComponent() public méthode

Initializes a new instance of the HealthComponent class.
public HealthComponent ( ) : System
Résultat System

HealthComponent() public méthode

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