Exemple #1
0
 private List <DecorationAvailableDTO> GetSeaDecorations()
 {
     if (SeaList == null)
     {
         lock (_seaLock)
         {
             DecorationAvailableDTO tea       = new DecorationAvailableDTO(AddOnType.Tea.ToString(), true, true);
             DecorationAvailableDTO coffee    = new DecorationAvailableDTO(AddOnType.Coffee.ToString(), true, true);
             DecorationAvailableDTO juice     = new DecorationAvailableDTO(AddOnType.Juice.ToString(), true, true);
             DecorationAvailableDTO breakfast = new DecorationAvailableDTO(AddOnType.Breakfast.ToString(), true, false);
             breakfast.NextLvlDecorations.Add(tea);
             breakfast.NextLvlDecorations.Add(coffee);
             breakfast.NextLvlDecorations.Add(juice);
             DecorationAvailableDTO wine    = new DecorationAvailableDTO(AddOnType.Wine.ToString(), true, true);
             DecorationAvailableDTO dessert = new DecorationAvailableDTO(AddOnType.Dessert.ToString(), true, true);
             DecorationAvailableDTO lunch   = new DecorationAvailableDTO(AddOnType.Lunch.ToString(), true, false);
             lunch.NextLvlDecorations.Add(wine);
             lunch.NextLvlDecorations.Add(dessert);
             DecorationAvailableDTO cruise = new DecorationAvailableDTO(AddOnType.Cruise.ToString(), false, false);
             cruise.NextLvlDecorations.Add(breakfast);
             cruise.NextLvlDecorations.Add(lunch);
             SeaList = new List <DecorationAvailableDTO>
             {
                 cruise,
                 new DecorationAvailableDTO(AddOnType.Aquapark.ToString(), false, false),
                 new DecorationAvailableDTO(AddOnType.Waterboard.ToString(), false, false),
                 new DecorationAvailableDTO(AddOnType.Sunbeds.ToString(), false, false)
             };
         }
     }
     return(SeaList);
 }
Exemple #2
0
 private List <DecorationAvailableDTO> GetWinterDecorations()
 {
     if (WinterList == null)
     {
         lock (_winterLock)
         {
             DecorationAvailableDTO snowboard    = new DecorationAvailableDTO(AddOnType.Snowboard.ToString(), true, false);
             DecorationAvailableDTO skis         = new DecorationAvailableDTO(AddOnType.Skis.ToString(), true, false);
             DecorationAvailableDTO skiPoles     = new DecorationAvailableDTO(AddOnType.SkiPoles.ToString(), true, false);
             DecorationAvailableDTO skiBoots     = new DecorationAvailableDTO(AddOnType.SkiBoots.ToString(), true, false);
             DecorationAvailableDTO sled         = new DecorationAvailableDTO(AddOnType.Sled.ToString(), true, false);
             DecorationAvailableDTO skiEquipment = new DecorationAvailableDTO(AddOnType.SkiEquipment.ToString(), false, false);
             skiEquipment.NextLvlDecorations.Add(snowboard);
             skiEquipment.NextLvlDecorations.Add(skis);
             skiEquipment.NextLvlDecorations.Add(skiPoles);
             skiEquipment.NextLvlDecorations.Add(skiBoots);
             skiEquipment.NextLvlDecorations.Add(sled);
             WinterList = new List <DecorationAvailableDTO>
             {
                 skiEquipment,
                 new DecorationAvailableDTO(AddOnType.SkiPass.ToString(), false, false)
             };
         }
     }
     return(WinterList);
 }
Exemple #3
0
 private List <DecorationAvailableDTO> GetSpaDecorations()
 {
     if (SpaList == null)
     {
         lock (_spaLock)
         {
             DecorationAvailableDTO schnapps = new DecorationAvailableDTO(AddOnType.Schnapps.ToString(), true, true);
             DecorationAvailableDTO pogaca   = new DecorationAvailableDTO(AddOnType.Pogaca.ToString(), true, true);
             DecorationAvailableDTO meal     = new DecorationAvailableDTO(AddOnType.Meal.ToString(), true, false);
             meal.NextLvlDecorations.Add(schnapps);
             meal.NextLvlDecorations.Add(pogaca);
             DecorationAvailableDTO trainTour = new DecorationAvailableDTO(AddOnType.TrainTour.ToString(), false, false);
             trainTour.NextLvlDecorations.Add(meal);
             DecorationAvailableDTO tourGuide = new DecorationAvailableDTO(AddOnType.TourGuide.ToString(), true, false);
             DecorationAvailableDTO walk      = new DecorationAvailableDTO(AddOnType.Walk.ToString(), false, false);
             walk.NextLvlDecorations.Add(tourGuide);
             SpaList = new List <DecorationAvailableDTO>
             {
                 trainTour,
                 walk,
                 new DecorationAvailableDTO(AddOnType.BikeRent.ToString(), false, false),
                 new DecorationAvailableDTO(AddOnType.ScooterRent.ToString(), false, false)
             };
         }
     }
     return(SpaList);
 }