public class Game : IDeterministicGame\r
{\r
#region IDeterministicGame Members\r
+ List<Player> mPlayers;\r
+ Display mDisplay;\r
+ Map mMap;\r
\r
+ public Game()\r
+ {\r
+ mDisplay = new Display();\r
+ }\r
public void LoadContent(ContentManager contentManager)\r
{\r
+ //Texture2D everything = contentManager.Load<Texture2D>("default");\r
+ mDisplay.LoadContent(contentManager);\r
}\r
\r
public void UnloadContent()\r
\r
public bool IsGameOver(object playerIdentifier)\r
{\r
- return true;\r
+ return false;\r
}\r
\r
public bool IsTerminated(object playerIdentifier)\r
{\r
- return true;\r
+ return false;\r
}\r
\r
public long Update(TimeSpan timespan)\r
{\r
+ mDisplay.Update(timespan);\r
return CurrentFrameNumber;\r
}\r
\r
public long Draw(SpriteBatch spriteBatch)\r
{\r
+ mDisplay.Draw(spriteBatch);\r
return CurrentFrameNumber;\r
}\r
\r