Esempio 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);
        }
Esempio n. 2
0
 public IMGUI(Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice device)
 {
     lines = new LineDrawer (device);
     spriteBatch = new SpriteBatch(device);
 }