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(); } }
public GameEventArgs(Game game) { this.Game = game; }