public void MoveToScene(string name)
        {
            if (currentScene != null) currentScene.Enabled = currentScene.Visible = false;

            currentScene = SceneByName(name);
            currentScene.Enabled = currentScene.Visible = true;
        }
 public void AddScene(Scene scene)
 {
     scenes.Add(scene);
     scene.Enabled = scene.Visible = false;
     this.Game.Components.Add(scene);
 }