Building_SamSite class.
Inheritance: Building
Ejemplo n.º 1
0
 public void InitializeMissileData(Building_SamSite launcher, DropPodIncoming dropPod, Vector3 missileOrigin, Vector3 predictedImpactPosition, int predictedTicksToImpact, bool targetWillBeHit = true)
 {
     this.launcher = launcher;
     this.target   = dropPod;
     this.origin   = missileOrigin;
     this.predictedImpactPosition = predictedImpactPosition;
     this.predictedTicksToImpact  = predictedTicksToImpact;
     this.ticksToImpact           = predictedTicksToImpact;
     this.missileRotation         = (this.predictedImpactPosition - this.origin).AngleFlat();
     this.targetWillBeHit         = targetWillBeHit;
 }
Ejemplo n.º 2
0
 public void InitializeMissileData(Building_SamSite launcher, DropPodIncoming dropPod, Vector3 missileOrigin, Vector3 predictedImpactPosition, int predictedTicksToImpact, bool targetWillBeHit = true)
 {
     this.launcher = launcher;
     this.target = dropPod;
     this.origin = missileOrigin;
     this.predictedImpactPosition = predictedImpactPosition;
     this.predictedTicksToImpact = predictedTicksToImpact;
     this.ticksToImpact = predictedTicksToImpact;
     this.missileRotation = (this.predictedImpactPosition - this.origin).AngleFlat();
     this.targetWillBeHit = targetWillBeHit;
 }