예제 #1
0
        public override void Initialize()
        {
            m_color = Color.White;

            m_titlescreen     = new RainbowLerpObject(m_titleBannerSprite, new Vector2(235, 40));
            m_PlayButton      = new MenuButton(m_PlayBtnSprite, new Vector2(325, 180), MenuButton.MenuNav.PLAY, m_graphics);
            m_HighscoreButton = new MenuButton(m_HighscoreBtnSprite, new Vector2(325, 250), MenuButton.MenuNav.HIGHSCORE, m_graphics);
            m_CreditButton    = new MenuButton(m_CreditBtnSprite, new Vector2(325, 325), MenuButton.MenuNav.CREDITS, m_graphics);
        }
 public override void Initialize()
 {
     m_color            = Color.Black;
     m_backButton       = new MenuButton(m_backbtnsprite, new Vector2(0, 400), MenuButton.MenuNav.MAINMENU, m_graphics);
     m_creditcolourlerp = new RainbowLerpObject(m_credittexture, new Vector2(235, 200));
 }