Beispiel #1
0
        public void InitializeGame()
        {
            this.roundCount = 0;
            this.newRoundWaitCount = 0;
            this.simulator = new PhysicsSimulator(new Vector2(0,1700));
            this.game = new Game(this.simulator);
            this.game.GameOver += new EventHandler<GameEventArgs>(game_GameOver);

            this.LoadControlPanel();
            this.LoadInfoPanel();

            this.LoadNextRound();
            foreach (IDrawingBrush b in this.drawingList)
            {
                b.Update();
            }
        }
Beispiel #2
0
 public GameEventArgs(Game game)
 {
     this.Game = game;
 }