public Game1() { graphics = new GraphicsDeviceManager(this); Window.Title = "Asteroids 3D in XNA 4 Chapter Five"; graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 600; graphics.ApplyChanges(); Content.RootDirectory = "Content"; Camera = new Engine.Camera(this, new Vector3(0, 0, 275), Vector3.Forward, Vector3.Zero, false, 200, 325); Background = new Entities.Background(this); screenHUD = new Entities.HUD(this); Player = new Entities.Player(this); UFOs = new Entities.UFOController(this); Rocks = new Entities.RockController(this); }
public SmallRock(Game game, Player player, RockController rocks) : base(game, player, rocks) { }
public Rock(Game game, Player player, RockController rocks) : base(game) { this.player = player; this.rocks = rocks; }
public MediumRock(Game game, Player player, RockController rocks) : base(game, player, rocks) { }