Пример #1
0
        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);
        }
Пример #2
0
 public DemoMode(UiSystem uiSystem, GameSetup.LevelSetup levelSetup) : base(uiSystem, levelSetup, true)
 {
 }
Пример #3
0
 public PlayMode(UiSystem uiSystem, GameSetup.LevelSetup levelSetup) : base(uiSystem, levelSetup, false)
 {
 }