Class: ActionSystem

Class: ActionSystem

ActionSystem

new ActionSystem()

Represents a System for a action based game. ActionSystem manages ActionEngine's Entity by its own method.

Source:
See:

Extends

Methods

action(turn, action)

Called when the action runs.

Parameters:
Name Type Description
turn Turn

The current Turn if available.

action Action

The action that has run.

Source:

add(engine)

Called when the System is added to the Engine.

Parameters:
Name Type Description
engine Engine

The Engine added to.

Inherited From:
Source:

preAction(turn, action)

Called when before action runs.

Parameters:
Name Type Description
turn Turn

The current Turn if available.

action Action

The action about to run.

Source:

remove(engine)

Called when the System is removed from the Engine.

Parameters:
Name Type Description
engine Engine

The Engine removed from.

Inherited From:
Source:

sendAction(turn, action)

Called when the new action is required to sent to the server.

Parameters:
Name Type Description
turn Turn

The current Turn if available.

action Action

The action that has run.

Source:

update()

Called when the Engine#update is called.

Inherited From:
Source: