Exemple #1
0
 public Tank(ContentManager cm, Vector2 start, AbstractUnitFactory factory)
     : base(cm, factory, cm.Load <Model>("models/hairship"), start)
 {
     this.scale    = 1.6f;
     this._life    = 500;
     this._lifeMax = 500;
 }
Exemple #2
0
 public Tank(ContentManager cm, Vector2 start, AbstractUnitFactory factory)
     : base(cm, factory, cm.Load<Model>("models/hairship"), start)
 {
     this.scale = 1.6f;
     this._life = 500;
     this._lifeMax = 500;
 }
Exemple #3
0
 public Pigeon(ContentManager cm, Vector2 start, AbstractUnitFactory factory)
     : base(cm, factory, cm.Load<Model>("models/pigeon"), start)
 {
     this.regen = 0.3f;
     this.mass = 1f;
     this._life = 50;
     this._lifeMax = 50;
 }
Exemple #4
0
 public Pigeon(ContentManager cm, Vector2 start, AbstractUnitFactory factory)
     : base(cm, factory, cm.Load <Model>("models/pigeon"), start)
 {
     this.regen    = 0.3f;
     this.mass     = 1f;
     this._life    = 50;
     this._lifeMax = 50;
 }
        public UserUnit(ContentManager cm, AbstractUnitFactory f, Model def_body, Vector2 def_pos)
            : base(def_body, def_pos)
        {
            this.content = cm;
            this.factory = f;

            aimerModel = content.Load<Model>("models/box");
            bar = content.Load<Model>("models/box");
        }
Exemple #6
0
        public UserUnit(ContentManager cm, AbstractUnitFactory f, Model def_body, Vector2 def_pos)
            : base(def_body, def_pos)
        {
            this.content = cm;
            this.factory = f;

            aimerModel = content.Load <Model>("models/box");
            bar        = content.Load <Model>("models/box");
        }