Esempio n. 1
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. 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
        public bool StartGame()
        {
            //sets player choices for xbox
            //windows will always defalut to 1
            ToggleItem playerToggle = (ToggleItem)submenus[1].items[1];
            ToggleItem LengthToggle = (ToggleItem)submenus[1].items[2];
            ToggleItem DiffToggle   = (ToggleItem)submenus[1].items[3];

            GameLayer temp = new GameLayer(playerToggle.current + 1, LengthToggle.current + 1, DiffToggle.current + 1);

            Globals.screenManager.Push(new IntroStory(temp));

            return(true);
        }
Esempio n. 4
0
        public bool StartGame()
        {
            //sets player choices for xbox
            //windows will always defalut to 1
            ToggleItem playerToggle = (ToggleItem)submenus[1].items[1];
            ToggleItem LengthToggle = (ToggleItem)submenus[1].items[2];
            ToggleItem DiffToggle = (ToggleItem)submenus[1].items[3];

            GameLayer temp = new GameLayer(playerToggle.current + 1, LengthToggle.current + 1, DiffToggle.current + 1);

            Globals.screenManager.Push(new IntroStory(temp));
                                         
            return true;
        }