static void Main() { using (var game = new Dodge()) game.Run(); }
public PlayerOne(Dodge game) : base(game, "blue_square", new Vector2((game.GraphicsDevice.Viewport.Bounds.Width / 2) - 32, game.GraphicsDevice.Viewport.Bounds.Height - 64)) { }
public Ball(Dodge game, Vector2 starting_point) : base(game, "red_circle", starting_point) { }
public GameObject(Dodge game, string content, Vector2 starting_point) { this.game = game; texture = game.Content.Load <Texture2D>(content); vector = starting_point; }