Exemplo n.º 1
0
 public Bombard(Model model, Terrain terrain, 
     Texture2D tex, Camera camera, HUD hud, float milliseconds, Effect effect, Texture2D smokeTexture, Audio audio)
 {
     this.texture = tex;
     this.model = model;
     this.camera = camera;
     this.hud = hud;
     this.terrain = terrain;
     this.milliseconds = milliseconds;
     this.effect = effect;
     this.smokeTexture = smokeTexture;
     this.audio = audio;
     Vector3 rand = RandomPosition();
 }
Exemplo n.º 2
0
 private void InitializeHud()
 {
     hud = new HUD(Game, true,5f,60);
     hud.DrawOrder = 5;
     Game.Components.Add(hud);
 }
Exemplo n.º 3
0
 private void InitializeHud()
 {
     hud = new HUD(Game, false, 1.5f, 100);
     hud.DrawOrder = 4;
     Game.Components.Add(hud);
 }