Esempio n. 1
0
 private bool CheckScene(IScene scene)
 {
     foreach (ICondition condition in scene.GetConditions())
     {
         foreach (IAction action in condition.GetActions())
         {
             if (!string.IsNullOrEmpty(action.NextScene))
             {
                 //we're good for this scene
                 return true;
             }
         }
     }
     return false;
 }