public void Remove(Scene scene)
 {
     if (_scenes.ContainsKey(scene.Name))
     {
         _scenes.Remove(scene.Name);
     }
 }
        public bool SwitchScene(string name)
        {
            if (_scenes.ContainsKey(name))
            {
                if (_currentScene != null)
                {
                    _currentScene.Dispose();
                }

                _currentScene = _scenes[name];
                _currentScene.Initialize();

                return true;
            }

            return false;
        }
 public void Add(Scene scene)
 {
     _scenes.Add(scene.Name, scene);
 }