Exemple #1
0
 public RocketTakeoff(RocketTakeoff reference, VehiclePawn vehicle) : base(reference, vehicle)
 {
     rocketTiltRate = reference.rocketTiltRate;
     thrusterSize   = reference.thrusterSize;
     dustSize       = reference.dustSize;
     burnRadius     = reference.burnRadius;
 }
 public override void GizmoUpdateOnMouseover()
 {
     base.GizmoUpdateOnMouseover();
     if (radius > 0)
     {
         if (needsLOS)
         {
             GenDraw.DrawFieldEdges(RocketTakeoff.CellsToBurn(center, Find.CurrentMap, radius).ToList(), color);
         }
         else
         {
             GenDraw.DrawRadiusRing(center, radius, color);
         }
     }
 }