Class: PlayerControl

PlayerControl()

new PlayerControl()

constructor
Source:

Extends

Methods

setInput(id, data)

Set server input state for a player.
Parameters:
Name Type Description
id Number Id of player
data Object Key state delta.
Source:

update(entities)

Run the system on the entities.
Parameters:
Name Type Description
entities Array
Overrides:
Source:

update(entities)

Run the system on the entities.
Parameters:
Name Type Description
entities Array
Overrides:
Source:

PlayerControl()

new PlayerControl()

constructor
Source:

Extends

Methods

setInput(id, data)

Set server input state for a player.
Parameters:
Name Type Description
id Number Id of player
data Object Key state delta.
Source:

update(entities)

Run the system on the entities.
Parameters:
Name Type Description
entities Array
Overrides:
Source:

update(entities)

Run the system on the entities.
Parameters:
Name Type Description
entities Array
Overrides:
Source: