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