Abstract
Abstract class which can be used to create Systems. It includes the following dependencies: EntityManager, AssetManager, SceneManager, TimeManager, InputManager, CollisionRepository.
class SomeSystem extends GameSystem { onUpdate() { const result = this.entityManager.search(SomeComponent); }} Copy
class SomeSystem extends GameSystem { onUpdate() { const result = this.entityManager.search(SomeComponent); }}
Protected
Readonly
This method is called once every frame
Abstract class which can be used to create Systems.
It includes the following dependencies: EntityManager, AssetManager, SceneManager, TimeManager, InputManager, CollisionRepository.
Example