コード例 #1
0
        public ThunderGunTop(Building_AATurret parentTurret) : base(parentTurret)
        {
            RecoilLeft  = new RecoilManager();
            RecoilRight = new RecoilManager();

            ConfigRecoil(RecoilLeft);
            ConfigRecoil(RecoilRight);

            void ConfigRecoil(RecoilManager m)
            {
                m.RecoveryMultiplier = 0.75f;
                m.VelocityMultiplier = 0.85f;
            }
        }
コード例 #2
0
 public MBDTop(Building_AATurret parentTurret) : base(parentTurret)
 {
 }
コード例 #3
0
 public RailgunTop(Building_AATurret parentTurret) : base(parentTurret)
 {
     Recoil = new RecoilManager();
     Recoil.RecoveryMultiplier = 0.9f;
 }
コード例 #4
0
 public AATurretTop(Building_AATurret parentTurret)
 {
     this.parentTurret = parentTurret;
 }