public UiSystem(IRenderer renderer) { _levelSetup = new GameSetup.LevelSetup(); SpriteSet = new SpriteSet(); Display = new Display(_levelSetup.MapHeight + 5, _levelSetup.MapWidth, SpriteSet); Inputs = new Inputs(); ScoreBoard = new ScoreBoard(Display); _renderer = renderer; _uiMode = new TestMode(this); }
public DemoMode(UiSystem uiSystem, GameSetup.LevelSetup levelSetup) : base(uiSystem, levelSetup, true) { }
public PlayMode(UiSystem uiSystem, GameSetup.LevelSetup levelSetup) : base(uiSystem, levelSetup, false) { }