public GameDrawClassComponents(ContentManager Content, Model.StaticTextureImages staticTextureImages, Model.StaticFonts staticFonts, Game1 _This, SpriteBatch spriteBatch, GraphicsDevice graphicsDevice, int screenWidth, int screenHeight)
        {
            _Content = Content;
            _staticTextureImages = staticTextureImages;
            _staticFonts = staticFonts;
            _this = _This;

             _spriteBatch = spriteBatch;
             _graphicsDevice = graphicsDevice;

             _screenWidth = screenWidth;
             _screenHeight = screenHeight;

            _isNull = false;
        }
        public GameUpdateClassComponents(MouseState curMouseState, ContentManager Content, Model.StaticTextureImages staticTextureImages, Model.StaticFonts staticFonts, Game1 _This, GameComponentCollection Components, GraphicsDevice graphicsDevice, int screenWidth, int screenHeight)
        {
            _curMouseState       = curMouseState;
            _Content             = Content;
            _staticTextureImages = staticTextureImages;
            _staticFonts         = staticFonts;
            _this       = _This;
            _Components = Components;

            _graphicsDevice = graphicsDevice;

            _screenWidth  = screenWidth;
            _screenHeight = screenHeight;

            _isNull = false;
        }
        public GameUpdateClassComponents(MouseState curMouseState, ContentManager Content, Model.StaticTextureImages staticTextureImages, Model.StaticFonts staticFonts, Game1 _This, GameComponentCollection Components, GraphicsDevice graphicsDevice, int screenWidth, int screenHeight)
        {
            _curMouseState = curMouseState;
            _Content = Content;
            _staticTextureImages = staticTextureImages;
            _staticFonts = staticFonts;
            _this = _This;
            _Components = Components;

            _graphicsDevice = graphicsDevice;

            _screenWidth = screenWidth;
            _screenHeight = screenHeight;

            _isNull = false;
        }
예제 #4
0
        public GameDrawClassComponents(ContentManager Content, Model.StaticTextureImages staticTextureImages, Model.StaticFonts staticFonts, Game1 _This, SpriteBatch spriteBatch, GraphicsDevice graphicsDevice, int screenWidth, int screenHeight)
        {
            _Content             = Content;
            _staticTextureImages = staticTextureImages;
            _staticFonts         = staticFonts;
            _this = _This;


            _spriteBatch    = spriteBatch;
            _graphicsDevice = graphicsDevice;

            _screenWidth  = screenWidth;
            _screenHeight = screenHeight;



            _isNull = false;
        }
예제 #5
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        ///

        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);


            /////////////////////////////
            //Load all Content Images and Fonts
            /////////////////////////////
            staticTextureImages = new Model.StaticTextureImages(Content, GraphicsDevice);
            staticFonts         = new Model.StaticFonts(Content);



            currentStartMenu.loadStartMenuContent(staticTextureImages, staticFonts);

            currentStartMenu.loadUpTheStartMenu();


            // TODO: use this.Content to load your game content here
        }
예제 #6
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        /// 
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);

            /////////////////////////////
            //Load all Content Images and Fonts
            /////////////////////////////
            staticTextureImages = new Model.StaticTextureImages(Content,GraphicsDevice);
            staticFonts = new Model.StaticFonts(Content);

            currentStartMenu.loadStartMenuContent(staticTextureImages, staticFonts);

            currentStartMenu.loadUpTheStartMenu();

            // TODO: use this.Content to load your game content here
        }