C# 클래스 Aura.Channel.World.Entities.Entity

An entity is any being or object that can be sent in Entity(Dis)Appears.
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
Disappear ( ) : void

Called when entity is removed from world, due to DisappearTime.

GetLocation ( ) : Location

Returns entity's current location.

GetPosition ( ) : Position

Entity's current position

HasTag ( string tag ) : bool

Returns true if entity's data has the tag.

Is ( DataType type ) : bool

Returns true if entity is of the given data type.

메소드 상세

Disappear() 공개 메소드

Called when entity is removed from world, due to DisappearTime.
public Disappear ( ) : void
리턴 void

GetLocation() 공개 메소드

Returns entity's current location.
public GetLocation ( ) : Location
리턴 Location

GetPosition() 공개 추상적인 메소드

Entity's current position
public abstract GetPosition ( ) : Position
리턴 Position

HasTag() 공개 추상적인 메소드

Returns true if entity's data has the tag.
public abstract HasTag ( string tag ) : bool
tag string
리턴 bool

Is() 공개 메소드

Returns true if entity is of the given data type.
public Is ( DataType type ) : bool
type DataType
리턴 bool