Accessors
componentTypes
get componentTypes( ) : string []
components
Array of component instances
Methods
Private addComponent
Parameters
Updated array of components, or null if the component already existed
getComponent
Parameters
Requested component instance
getComponentData
getComponentData( type: string ) : any
hasComponent
hasComponent( type: string ) : boolean
Parameters
Returns boolean
True if the component is present
isWatchableBy
isWatchableBy( system: System ) : boolean
Parameters
Returns boolean
True if the entity is watchable
Private removeComponent
Parameters
Array of component instances
setComponentData
setComponentData( type: string , data: __type ) : void
Parameters
type: string
data: __type
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Class representing an entity.