Esempio n. 1
0
        /// <summary>
        /// The constructor for the Main Menu.
        /// </summary>
        public ControlScreenLayer() : base()
        {
            SetLayerAttributes();
            isTransparent = true;

            menuBackground = new MenuBackground();

            ConstructDrawingObjects();
        }
Esempio n. 2
0
        /// <summary>
        /// The constructor for the Main Menu.
        /// </summary>
        public IntroStory(GameLayer cG) : base()
        {
            SetLayerAttributes();
            currentGame = cG;
            isTransparent = true;

            menuBackground = new MenuBackground();

            ConstructDrawingObjects();
        }
Esempio n. 3
0
        /// <summary>
        /// The constructor for the Main Menu.
        /// </summary>
        public SettingsMenuLayer() : base()
        {
            SetLayerAttributes();

            menuBackground = new MenuBackground();

            ConstructDrawingObjects();

            ConstructSubMenus();
        }
Esempio n. 4
0
        /// <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);
        }
Esempio n. 5
0
        /// <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();
        }
Esempio n. 6
0
        /// <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();
        }