Beispiel #1
0
        private static void InitFigureScene()
        {
            var main  = new GamePanelFigures(output);
            var msg   = new GamePanelPermanentMessage(output);
            var read  = new GameReadPanelFigures(output);
            var logic = new FiguresLogic(main, msg);

            figureScene = new GameScene(main, msg, read, logic, output)
            {
                Latency = 0,
            };
        }
Beispiel #2
0
        private static void InitInfoScene()
        {
            var main  = new GamePanelTextOut(output);
            var msg   = new GamePanelPermanentMessage(output);
            var read  = new GameReadPanelTextOut(output);
            var logic = new TextOutLogic(main, msg);

            textScene = new GameScene(main, msg, read, logic, output)
            {
                Latency = 0,
            };
        }