Example #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;
 }
Example #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);
 }