Пример #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;
        }
Пример #2
0
 public DualLaserGun(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_dual_laser.png")).Center();
 }
Пример #3
0
 protected Weapon(Ship parent)
 {
     Parent = parent;
     Cooldown = 0;
 }
Пример #4
0
 public MissileLauncher(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_nerfgun.png")).Center();
 }
Пример #5
0
 public NerfGun(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_nerfgun.png")).Center();
     _left = true;
 }
Пример #6
0
 public Disruptor(Ship parent)
     : base(parent)
 {
     _icon = new Sprite(Assets.LoadTexture("wep_disruptor.png")).Center();
 }