示例#1
0
 /// <summary>
 /// Method that gets the main instance of the game engine.
 /// </summary>
 /// <returns>The instance of the GameEngine.</returns>
 public static GameEngine StartGame(IRenderable renderer)
 {
     gameEngineInstance = new GameEngine(renderer);
     return gameEngineInstance;
 }
示例#2
0
 /// <summary>
 /// Method that gets the main instance of the game engine.
 /// </summary>
 /// <returns>The instance of the GameEngine.</returns>
 public static GameEngine StartGame(IRenderable renderer)
 {
     gameEngineInstance = new GameEngine(renderer);
     return(gameEngineInstance);
 }