예제 #1
0
        public virtual void load(ContentManager content)
        {
            background = content.Load <Texture2D>("Game/Quatrix Background");

            mainBlock.load(content);
            previewBlock.load(content);

            mainBlock.normal(mainGrid);

            previewBlock.preview(previewGrid);

            hud.load();

            controls.load(content);
        }
예제 #2
0
        public void load()
        {
            background = Game.Content.Load <Texture2D>("Game/Quatrix Background");

            pauseButton = Game.Content.Load <Texture2D>("Menus/Pause Bar");

            mainBlock.load(Game.Content);
            previewBlock.load(Game.Content);

            mainBlock.normal(mainGrid);

            previewBlock.preview(previewGrid);

            hud.load();

            controls.load(Game.Content);
        }