Exemplo n.º 1
0
        public DroneLauncher(Ship parent)
            : base(parent)
        {
            _icon = new Sprite(Assets.LoadTexture("wep_drone_launcher.png")).Center();

            _amountText = new Text("", Program.Font, 14);
            _amountText.Color = new Color(225, 225, 225);

            _drones = new List<Drone>(MaxConcurrent);
            _amount = 0;
            _time = 0;
            _left = false;
        }
Exemplo n.º 2
0
 public DualLaserGun(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_dual_laser.png")).Center();
 }
Exemplo n.º 3
0
 protected Weapon(Ship parent)
 {
     Parent = parent;
     Cooldown = 0;
 }
Exemplo n.º 4
0
 public MissileLauncher(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_nerfgun.png")).Center();
 }
Exemplo n.º 5
0
 public NerfGun(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_nerfgun.png")).Center();
     _left = true;
 }
Exemplo n.º 6
0
 public Disruptor(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_disruptor.png")).Center();
 }