public Player(Game5 game) { this.game = game; timer = new TimeSpan(0); // position = new Vector2(50, 400); state = State.Idle; testmanRec = new Rectangle(50, 400, 75, 75); position = new Vector2(testmanRec.X, testmanRec.Y); }
static void Main() { using (var game = new Game5()) game.Run(); }
public Enemy(Game5 game) { this.game = game; }