Exemplo n.º 1
0
        public MainMenu()
        {
            this.background = new Image(DataIdentifier.textureMainMenuBackground, Horizontal.Left, Vertical.Top, new Microsoft.Xna.Framework.Vector2(), new Microsoft.Xna.Framework.Vector2(FenrirGame.Instance.Properties.ScreenWidth, FenrirGame.Instance.Properties.ScreenHeight));
            this.background.IsTile = true;

            this.itemsMainMenu = new MainMenuItems();
            this.itemsOptionMenu = new OptionMenuItems();
            this.header = new Header();
        }
Exemplo n.º 2
0
        public MainMenu()
        {
            this.background        = new Image(DataIdentifier.textureMainMenuBackground, Horizontal.Left, Vertical.Top, new Microsoft.Xna.Framework.Vector2(), new Microsoft.Xna.Framework.Vector2(FenrirGame.Instance.Properties.ScreenWidth, FenrirGame.Instance.Properties.ScreenHeight));
            this.background.IsTile = true;

            this.itemsMainMenu   = new MainMenuItems();
            this.itemsOptionMenu = new OptionMenuItems();
            this.header          = new Header();
        }