C# Класс Aura.Channel.World.Entities.Entity

An entity is any being or object that can be sent in Entity(Dis)Appears.
Показать файл Открыть проект Примеры использования класса

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

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