C# Класс StarWarrior.Components.HealthComponent

The health.
Наследование: IComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddDamage() публичный Метод

The add damage.
public AddDamage ( int damage ) : void
damage int The damage.
Результат void

HealthComponent() публичный Метод

Initializes a new instance of the HealthComponent class.
public HealthComponent ( ) : System
Результат System

HealthComponent() публичный Метод

Initializes a new instance of the HealthComponent class.
public HealthComponent ( float points ) : System
points float The points.
Результат System