public WorldScene(WorldDescriptor descriptor) : base(Main.LevelsFactory.GetWorldStringId(descriptor.Id)) { Descriptor = descriptor; Warps = new Dictionary<string, string>(); LevelsDescriptors = new Dictionary<string, LevelDescriptor>(); WarpsCelestialBodies = new Dictionary<CelestialBody, string>(); CelestialBodies = new Dictionary<int, CelestialBody>(); LevelStates = new LevelStates(this); NeedReinit = false; CanGoBackToMainMenu = true; }
public WorldAnnunciationScene(WorldDescriptor descriptor) : base(Main.LevelsFactory.GetWorldAnnounciationStringId(descriptor.Id)) { Descriptor = descriptor; WorldId = new Text(Main.LevelsFactory.GetWorldStringId(Descriptor.Id), @"Pixelite") { SizeX = 4, Color = Color.Black }.CenterIt(); Background = new Image("WhiteBg", Vector3.Zero) { VisualPriority = 1, Alpha = 0 }; }