C# Class Aura.Channel.World.Entities.Entity

An entity is any being or object that can be sent in Entity(Dis)Appears.
Afficher le fichier Open project: aura-project/aura Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Disappear() public méthode

Called when entity is removed from world, due to DisappearTime.
public Disappear ( ) : void
Résultat void

GetLocation() public méthode

Returns entity's current location.
public GetLocation ( ) : Location
Résultat Location

GetPosition() public abstract méthode

Entity's current position
public abstract GetPosition ( ) : Position
Résultat Position

HasTag() public abstract méthode

Returns true if entity's data has the tag.
public abstract HasTag ( string tag ) : bool
tag string
Résultat bool

Is() public méthode

Returns true if entity is of the given data type.
public Is ( DataType type ) : bool
type DataType
Résultat bool