Exemplo n.º 1
0
        public Controller()
        {
            InputView  = new InputView();
            OutputView = new OutputView();
            map        = new Map();
            OutputView.DrawMap(map, Score);
            OutputView.PrintControls();

            MyTimer          = new System.Timers.Timer();
            MyTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
            Playing          = true;
            Start();
        }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     controller = new Controller();
     Output = new OutputView();
     Input = new InputView();
 }