/// <summary> /// The constructor for the Main Menu. /// </summary> public ControlScreenLayer() : base() { SetLayerAttributes(); isTransparent = true; menuBackground = new MenuBackground(); ConstructDrawingObjects(); }
/// <summary> /// The constructor for the Main Menu. /// </summary> public IntroStory(GameLayer cG) : base() { SetLayerAttributes(); currentGame = cG; isTransparent = true; menuBackground = new MenuBackground(); ConstructDrawingObjects(); }
/// <summary> /// The constructor for the Main Menu. /// </summary> public SettingsMenuLayer() : base() { SetLayerAttributes(); menuBackground = new MenuBackground(); ConstructDrawingObjects(); ConstructSubMenus(); }
/// <summary> /// The constructor for the Main Menu. /// </summary> public MainMenuLayer(bool gameRunning) : base() { this.gameRunning = gameRunning; isTransparent = gameRunning; SetLayerAttributes(); menuBackground = new MenuBackground(); ConstructDrawingObjects(); ConstructSubMenus(gameRunning); }
/// <summary> /// The constructor for the Main Menu. /// </summary> public EndScreen(String message, bool hasWon) : base() { currentSubMenuIndex = 0; this.message = message; SetLayerAttributes(); this.hasWon = hasWon; isTransparent = true; menuBackground = new MenuBackground(); ConstructSubMenus(); ConstructDrawingObjects(); }
/// <summary> /// The constructor for the Main Menu. /// </summary> public AreYouSureLayer(String message, int exit) : base() { currentSubMenuIndex = 0; this.message = message; SetLayerAttributes(); this.exitUrgency = exit; isTransparent = true; menuBackground = new MenuBackground(); ConstructSubMenus(); ConstructDrawingObjects(); }