Example #1
0
 public override void Initialize()
 {
     tank = new Tank
         (Game.Content.Load<Model>(@"Tank/tank"),
         ((Game1)Game).device,
         ((Game1)Game).camera);
     base.Initialize();
 }
Example #2
0
 public NPC(Model model, Vector3 Position, Tank tank1)
     : base(model)
 {
     world = Matrix.CreateTranslation(Position);
     this.tank1 = tank1;
 }
Example #3
0
 public NPC(Model model, Vector3 Position, Tank tank1) : base(model)
 {
     world      = Matrix.CreateTranslation(Position);
     this.tank1 = tank1;
 }