Class GameSystemAbstract

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);
}
}

Implements

Constructors

Properties

assetManager: AssetManager
collisionRepository: CollisionRepository
entityManager: EntityManager
inputManager: InputManager
sceneManager: SceneManager
timeManager: TimeManager

Methods