Пример #1
0
        //public Texture Earth
        //{
        //    get { return renderTarget.GetColorBufferTexture(); }
        //}

        public Menu(Code2015 game, RenderSystem rs)
        {
            this.game     = game;
            this.mainMenu = new MainMenu(game, this);
            //this.sideSelect = new SelectScreen(game, this);
            //this.renderSys = rs;

            //CreateScene(rs);
            //this.loadScreen = new LoadingScreen(this, rs);
            this.intro       = new Intro(rs);
            this.credits     = new CreditScreen(rs, this);
            this.tutorial    = new Tutorial(this);
            this.dummyScreen = new DummyScreen();

            FileLocation fl = FileSystem.Instance.Locate("bg_black.tex", GameFileLocs.GUI);

            overlay34           = UITextureManager.Instance.CreateInstance(fl);
            this.loadingOverlay = new LoadingOverlay(game, overlay34);


            //fl = FileSystem.Instance.Locate("mm_logo.tex", GameFileLocs.GUI);
        }
Пример #2
0
        //public Texture Earth
        //{
        //    get { return renderTarget.GetColorBufferTexture(); }
        //}

        public Menu(Code2015 game, RenderSystem rs)
        {
            this.game = game;
            this.mainMenu = new MainMenu(game, this);
            //this.sideSelect = new SelectScreen(game, this);
            //this.renderSys = rs;

            //CreateScene(rs);
            //this.loadScreen = new LoadingScreen(this, rs);
            this.intro = new Intro(rs);
            this.credits = new CreditScreen(rs, this);
            this.tutorial = new Tutorial(this);
            this.dummyScreen = new DummyScreen();

            FileLocation fl = FileSystem.Instance.Locate("bg_black.tex", GameFileLocs.GUI);
            overlay34 = UITextureManager.Instance.CreateInstance(fl);
            this.loadingOverlay = new LoadingOverlay(game, overlay34);


            //fl = FileSystem.Instance.Locate("mm_logo.tex", GameFileLocs.GUI);


        }