public Level(Game game, HUD h) : base(game) { Player1 = new Player(game, new Vector2(0, 0)); Ship = new Spaceship(game, new Vector2(100, 100)); Hud = h; }
protected override void Initialize() { hud = new HUD(); level = new Level(this, hud); hud.CurrentLevel = level; camera = new Camera2D(level.Player1.Position); base.Initialize(); }