コード例 #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();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: glenndewildt/Prog5RikGlenn
 static void Main(string[] args)
 {
     controller = new Controller();
     Output = new OutputView();
     Input = new InputView();
 }