public ApplicationController() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.IsFullScreen = false; model = new GameModel (); }
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); }