Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }