Esempio n. 1
0
        public GamePlayScreen(Game1 game)
        {
            this.game = game;
            TextureManager.LoadTextures(game);

            wiz      = new Wizard(TextureManager.testTexture, new Vector2(400, 400), game.Window, this);
            engineer = new Engineer(TextureManager.testTexture, new Vector2(200, 200), game.Window, this);
            camera   = new Camera(game.GraphicsDevice.Viewport);
        }
 public GameOverScreen(Game1 game)
 {
     this.game = game;
     TextureManager.LoadTextures(game);
 }
Esempio n. 3
0
 public StartScreen(Game1 game)
 {
     this.game = game;
     TextureManager.LoadTextures(game);
 }