예제 #1
0
        public virtual void Run()
        {
            _running = true;
            _outputview.ShowWelcome();
            int width  = _inputView.AskForWidth();
            int height = _inputView.AskForHeight();

            _game = new Game();
            _game.CreateDungeon(width, height);
            _outputview.Game = _game;
            _outputview.DrawDungeon();
            _game.Start();
            _outputview.RegisterToEvents();
            _inputThread.Start();
        }