graphics = new GraphicsDeviceManager(this);\r
Content.RootDirectory = "Content";\r
\r
- // Make the game object. The game is currently called 'testHarness'.\r
+ Components.Add(new GamerServicesComponent(this));\r
\r
lobby = new lobbyGUI();\r
deterministicGame = new TestHarness();\r
networkGame = new NetworkGame(lobby, deterministicGame);\r
- Components.Add(new GamerServicesComponent(this));\r
}\r
\r
/// <summary>\r
IsFixedTimeStep = true;\r
TargetElapsedTime = networkGame.TargetTimeSpan;\r
\r
- // For debugging - reset the mouse position to the center of the window.\r
-\r
+ // DEBUG: This is for the test harness.\r
Mouse.SetPosition(400, 300);\r
\r
// Allow the base class to initialize.\r
\r
spriteBatch = new SpriteBatch(GraphicsDevice);\r
\r
- networkGame.font = Content.Load<SpriteFont>("InstructionFont");\r
-\r
lobby.LoadContent(Content, graphics);\r
deterministicGame.LoadContent(Content);\r
}\r
/// <param name="gameTime">Provides a snapshot of timing values.</param>\r
protected override void Draw(GameTime gameTime)\r
{\r
- GraphicsDevice.Clear(new Color(16, 16, 16, 255)); // Needed by the test harness, should be removed for the real game.\r
+ // DEBUG: This is for the test harness.\r
+ GraphicsDevice.Clear(new Color(16, 16, 16, 255));\r
\r
spriteBatch.Begin();\r
\r