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(); }
static void Main(string[] args) { controller = new Controller(); Output = new OutputView(); Input = new InputView(); }