public SceneCommandInfo Load(XElement node, string basePath)
        {
            var info = new SceneCallCommandInfo();

            info.Name = node.Value;

            return info;
        }
Example #2
0
        public static SceneCallCommandInfo LoadCallCommand(XElement node)
        {
            var info = new SceneCallCommandInfo();

            info.Name = node.Value;

            return info;
        }
Example #3
0
        private void CallCommand(SceneCallCommandInfo command)
        {
            var player = Entities.GetEntityById("Player");

            if (player != null)
            {
                EffectParser.GetLateBoundEffect(command.Name)(player);
            }
        }