Exemplo n.º 1
0
 /// <summary>
 /// Creates a new game manager
 /// </summary>
 /// <param name="firstScene">First scene</param>
 public Game(ISceneBase firstScene)
 {
     _SceneManager    = new SceneManager(firstScene);
     _KeyboardManager = new KeyboardManager(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Disposes of all things used by this instance
 /// </summary>
 public void Dispose()
 {
     _SceneManager = null;
 }