System
Direct Subclass:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
onUpdate: * |
Method Summary
Public Methods | ||
public |
getComponentFromEntity(entityId: string, componentId: string): * Retrieves a Components from a specific Entity |
|
public |
Retrieves an Entity from the Game |
|
public |
listenSignal(signalId: *, callback: *) |
|
public |
sendSignal(signalId: *, data: *) |
Public Constructors
public constructor() source
Public Members
public onUpdate: * source
Public Methods
public getComponentFromEntity(entityId: string, componentId: string): * source
Retrieves a Components from a specific Entity
Return:
* |
public getEntity(id: string): Entity source
Retrieves an Entity from the Game
Params:
Name | Type | Attribute | Description |
id | string | ID of the entity |
public listenSignal(signalId: *, callback: *) source
Params:
Name | Type | Attribute | Description |
signalId | * | ||
callback | * |
public sendSignal(signalId: *, data: *) source
Params:
Name | Type | Attribute | Description |
signalId | * | ||
data | * |