Correction: Engine Constructor
The Engine Constructor used in the XNA Game Engine Tutorial Series 2.0 so far is incorrect. It should actually be as follows:
1
2
3
4
5
6
7
8
9
10
11
public Engine(GraphicsDeviceManager Graphics)
{
services = new ServiceContainer();
services.AddService(typeof(IGraphicsDeviceService), Graphics);
services.AddService(typeof(IGraphicsDeviceManager), Graphics);
this.graphicsDevice = Graphics.GraphicsDevice;
content = new IEContentManager(Services);
[...]
Sean