public GamePanel(Wiimote wm) { this.wm = wm; Layout += GameLayout; bigGame = new BigGame(this, wm); games = new MiniGame[] { new Labyrinth(this, wm), new ClickMe(this, wm), new Run(this, wm), new Buttons(this, wm) }; Layout += GameLayout; startTimer = new Timer {Interval = 3000}; startTimer.Tick += StartGame; startTimer.Start(); }
public GamePanel(Wiimote wm) { this.wm = wm; Layout += GameLayout; bigGame = new BigGame(this, wm); games = new MiniGame[] { new Labyrinth(this, wm), new ClickMe(this, wm), new Run(this, wm), new Buttons(this, wm) }; Layout += GameLayout; startTimer = new Timer { Interval = 3000 }; startTimer.Tick += StartGame; startTimer.Start(); }