Пример #1
0
    public static string GetSlotNameString(SponsorSlot.SlotType inSlotType)
    {
        switch (inSlotType)
        {
        case SponsorSlot.SlotType.RearWing:
            return("Rear Wing");

        case SponsorSlot.SlotType.FrontWing:
            return("Front Wing");

        case SponsorSlot.SlotType.Nose:
            return("Nose");

        case SponsorSlot.SlotType.SidePods:
            return("Side Pods");

        case SponsorSlot.SlotType.EndPlate:
            return("End Plate");

        case SponsorSlot.SlotType.AirIntake:
            return("Air Intake");

        default:
            return("Air Intake");
        }
    }
Пример #2
0
 public SponsorSlot(SponsorSlot.SlotType inSlotType)
 {
     this.mSlotType = inSlotType;
 }