Exemplo n.º 1
0
        public GameView(GameModel model, ContentManager content, GraphicsDevice device)
        {
            this.model = model;

            shuttleTexture = content.Load<Texture2D> ("shuttle.png");

            spriteBatch = new SpriteBatch(device);

            camera = new Camera (device.Viewport);

            lines = new LineDrawer (device);
        }
Exemplo n.º 2
0
 public IMGUI(Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice device)
 {
     lines = new LineDrawer (device);
     spriteBatch = new SpriteBatch(device);
 }