public Level(BonsaiGame game, EventBus eventBus) : base(game) { keyListeners = new List <KeyPressListener>(); this.eventBus = eventBus; this.eventBusSubscriptionIds = new List <string>(); chunkMap = new ChunkMap(10, 10, 10, 10); physSettings = new PhysicsSettings { Gravity = 5f, PhysicsType = PhysicsType.Platformer, Friction = 0.1f, TerminalVelocity = 200f, }; }
public StartScreen(BonsaiGame game) : base(game) { }