Ejemplo n.º 1
0
        public void Draw(GraphicsDeviceManager graphics, SpriteBatch spriteBatch, GameTime gameTime)
        {
            spriteBatch.Begin(transformMatrix: camera.GetTransformation(), samplerState: SamplerState.PointClamp);
            Scene.Draw(graphics, spriteBatch);
            spriteBatch.End();

            spriteBatch.Begin();
            Inventory.Draw(graphics, spriteBatch);
            HoverText.Draw(graphics, spriteBatch);
            spriteBatch.End();
        }