Esempio 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);
 }
Esempio n. 2
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);
 }