Beispiel #1
0
        protected override ISceneStrategy GetOrCreateSceneStrategy(string sceneName)
        {
            if (!SceneStrategyMap.ContainsKey(sceneName))
            {
                SceneStrategyMap[sceneName] = new SceneStrategy(sceneName);
            }

            return(SceneStrategyMap[sceneName]);
        }
 private bool HasSceneStrategy(string sceneName)
 {
     return(SceneStrategyMap.ContainsKey(sceneName));
 }