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

            menuBackground = new MenuBackground();

            ConstructDrawingObjects();
        }
Exemplo 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();
        }
Exemplo n.º 3
0
        /// <summary>
        /// The constructor for the Main Menu.
        /// </summary>
        public SettingsMenuLayer() : base()
        {
            SetLayerAttributes();

            menuBackground = new MenuBackground();

            ConstructDrawingObjects();

            ConstructSubMenus();
        }
Exemplo 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);
        }
Exemplo 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();
        }
Exemplo 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();
        }