C# 클래스 StarWarrior.Components.HealthComponent

The health.
상속: IComponent
파일 보기 프로젝트 열기: thelinuxlich/starwarrior_CSharp

공개 메소드들

메소드 설명
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