Constructor

new ()

Variables

Methods

addComponent<T> (component:T):T

inline addTag (tag:String):Void

inline getComponent<T> (componentClass:Class<Component>):T

inline getComponentsOfType<T> (componentClass:Class<Component>):Array<T>

inline hasComponent (componentClass:Class<Component>):Bool

inline hasComponentOfType (componentClass:Class<Component>):Bool

inline hasTag (tag:String):Bool

removeAllComponents (destroy:Bool = false):Void

removeComponent<T> (componentClass:Class<Component>, destroy:Bool = false):T

inline removeTag (tag:String):Void

inline toString ():String

Static methods

staticinline create ():Entity

staticinline getPool ():Pool<Entity>

Inherited Variables

Defined by BaseObject

read onlyid:Int = Gecko.getUniqueID()

read onlyisAlreadyDestroyed:Bool = false

Inherited Methods