Classes

Classes

Classes

Action
ActionEngine
ActionSystem
BitSet
Component
ComponentGroup
Builder
Engine
Entity
EventEmitter
System
Turn
TurnEngine
TurnSystem

Events

entityAdded

This event is fired when a Entity has added to Engine.

Type:
Inherited From:
Source:

entityRemoved

This event is fired when a Entity has removed from Engine.

Type:
Inherited From:
Source:

preAction

This event is fired before the action executes.

Properties:
Name Type Description
1 Action

The Action object.

Source:

entityAdded

This event is fired to ComponentGroup when a Entity matching its criteria has added to Engine.

Type:
Source:
See:

entityRemoved

This event is fired to ComponentGroup when a Entity matching its criteria has removed from Engine.

Type:
Source:
See:

entityAdded

This event is fired when a Entity has added to Engine.

Type:
Source:

entityRemoved

This event is fired when a Entity has removed from Engine.

Type:
Source:

componentAdded

This event is fired when a Component is added to the Entity.

Properties:
Name Type Description
0 Entity

the Entity.

1 String

the Component key added to Entity.

2 Component

the Component added to Entity.

Source:

componentRemoved

This event is fired when a Component is removed from the Entity.

Properties:
Name Type Description
0 Entity

the Entity.

1 String

the Component key removed from the Entity.

Source:

action

This event is fired when the action executes.

Properties:
Name Type Description
0 Turn

The current Turn.

1 Action

The Action object.

Source:

entityAdded

This event is fired when a Entity has added to Engine.

Type:
Inherited From:
Source:

entityRemoved

This event is fired when a Entity has removed from Engine.

Type:
Inherited From:
Source:

gameInit

This event is fired when the game starts.

Type:
Source:

preAction

This event is fired before the action executes.

Properties:
Name Type Description
1 Action

The Action object.

Inherited From:
Source:

sequenceNext

This event is fired when the sequence changes.

Type:
Source:

turnNext

This event is fired when the turn changes.

Type:
Source: