/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public Ball(Texture2D tex, Texture2D aim, Vector2 pos, Game1 game) { this.game = game; this.tex = tex; this.aim = aim; this.pos = pos; radius = 30; origin = new Vector2(tex.Width / 2, tex.Height / 2); aim_origin = new Vector2(aim.Width / 2, aim.Height / 2); }
public Form1(Game1 game) { this.game = game; InitializeComponent(); }