public BulletTracking GetRateBullet(BulletTracking srcInfo, float rate) { if (srcInfo == null) { return(this); } BulletTracking bulletTracking = new BulletTracking(); bulletTracking.moveThreshold = AttackInfo.GetRateValue(moveThreshold, srcInfo.moveThreshold, rate); bulletTracking.attackInterval = AttackInfo.GetRateValue(attackInterval, srcInfo.attackInterval, rate); bulletTracking.emitInterval = AttackInfo.GetRateValue(emitInterval, srcInfo.emitInterval, rate); bulletTracking.emissionNum = AttackInfo.GetRateValue(emissionNum, srcInfo.emissionNum, rate); bulletTracking.emissionBullet = emissionBullet; return(bulletTracking); }
public FollowTarget(BulletTracking own) { this.own = own; }
public NoTarget(BulletTracking own) { this.own = own; }