Abstract
Base class for all game scenes
class GameScene extends Scene { systems = [ SomeSystem, AnotherSystem ]; loadAssets() { this.assetManager.loadImage("image.png"); } setup() { this.entityManager.createEntity([ SomeComponent, AnotherComponent ]); }} Copy
class GameScene extends Scene { systems = [ SomeSystem, AnotherSystem ]; loadAssets() { this.assetManager.loadImage("image.png"); } setup() { this.entityManager.createEntity([ SomeComponent, AnotherComponent ]); }}
Protected
Readonly
Base class for all game scenes
Example