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