Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public Rock(Game game, Player player, RockController rocks)
     : base(game)
 {
     this.player = player;
     this.rocks  = rocks;
 }
Esempio n. 4
0
 public SmallRock(Game game, Player player, RockController rocks)
     : base(game, player, rocks)
 {
 }
Esempio n. 5
0
 public SmallRock(Game game, Player player, RockController rocks)
     : base(game, player, rocks)
 {
 }
Esempio n. 6
0
 public Rock(Game game, Player player, RockController rocks)
     : base(game)
 {
     this.player = player;
     this.rocks = rocks;
 }
Esempio n. 7
0
 public MediumRock(Game game, Player player, RockController rocks)
     : base(game, player, rocks)
 {
 }
Esempio n. 8
0
 public MediumRock(Game game, Player player, RockController rocks)
     : base(game, player, rocks)
 {
 }