private void resetGame() { circle = new Circle(100); arcMover = new ArcMover(); playerPhysics = new PlayerPhysics(); circleDrawer = new CircleDrawer(circle); timer.Stop(); this.Refresh(); }
public Game(int width, int height) { this.Width = width; this.Height = height; circleDrawer = new CircleDrawer(circle); setupInputListeners(); setupCanvas(); this.Load += new EventHandler(this.OnLoad); }