C# 클래스 Aura.Channel.World.HitTracker

Tracks damage and amount of hits done by one creature to another.
파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
HitTracker ( long id, Creature target, Creature attacker ) : Aura.Channel.World.Entities

Creates new hit tracker for target, for hits by attacker.

RegisterHit ( float damage ) : void

Increases hit count and damage.

메소드 상세

HitTracker() 공개 메소드

Creates new hit tracker for target, for hits by attacker.
public HitTracker ( long id, Creature target, Creature attacker ) : Aura.Channel.World.Entities
id long
target Aura.Channel.World.Entities.Creature
attacker Aura.Channel.World.Entities.Creature
리턴 Aura.Channel.World.Entities

RegisterHit() 공개 메소드

Increases hit count and damage.
public RegisterHit ( float damage ) : void
damage float
리턴 void