public EngineStateMainMenu(Engine engine)
            : base(engine)
        {
            List<string> menuOptions = new List<string>();
            menuOptions.Add(c_StartGame);
            //menuOptions.Add("Dummy 1");
            //menuOptions.Add("Dummy 2");
            //menuOptions.Add("Dummy 3");
            //menuOptions.Add("Dummy 4");
            //menuOptions.Add("Dummy 5");
            //menuOptions.Add("Dummy 6");
            //menuOptions.Add("Dummy 7");

            Point temp = m_engine.GraphicsDevice.Viewport.TitleSafeArea.Center;
            m_menuList = new MenuList(menuOptions, new Vector2(temp.X, temp.Y - 200));
            m_menuList.Font = FontEnum.Kootenay48;
            m_menuList.ItemSpacing = 100;
            m_menuList.SpaceAvailable = 400;
        }
Exemplo n.º 2
0
        public EngineStateMainMenu(Engine engine)
            : base(engine)
        {
            List<string> menuOptions = new List<string>();
            menuOptions.Add(c_StartGame);

            Point temp = m_engine.GraphicsDevice.Viewport.TitleSafeArea.Center;
            m_menuList = new MenuList(menuOptions, new Vector2(temp.X, temp.Y));
            m_menuList.Font = FontEnum.Kootenay48;
            m_menuList.ItemSpacing = 100;
            m_menuList.SpaceAvailable = 400;

            List<string> titleOptions = new List<string>();
            titleOptions.Add("Bros:");
            m_title = new MenuList(titleOptions, new Vector2(temp.X, temp.Y - 150));
            m_title.Font = FontEnum.Lindsey;
            m_title.ItemSpacing = 100;
            m_title.SpaceAvailable = 400;
            m_title.Scale = 8.0f;
            m_title.BaseColor = Color.AliceBlue;
            m_title.SelectedColor = Color.AliceBlue;
        }