Class: System

System()

Abstract System. A System is responsible that your game works. It holds all the business logic and processes the entities based on the data in the components

Constructor

new System()

Source:

Members

world :World|null

Type:
Source:

Methods

(abstract) added(entity)

get notified when entity is added to world
Parameters:
Name Type Description
entity Entity
Source:

(abstract) addedToWorld()

get notified when System is added to world
Source:

(abstract) removed(entity)

get notified when entity is removed from world
Parameters:
Name Type Description
entity Entity
Source:

setWorld(world)

Parameters:
Name Type Description
world World
Source: