/// <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); }
/// <summary> /// Disposes of all things used by this instance /// </summary> public void Dispose() { _SceneManager = null; }