예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
        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;
        }