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

            info.Name = node.Value;

            return info;
        }
Esempio n. 2
0
        public static SceneCallCommandInfo LoadCallCommand(XElement node)
        {
            var info = new SceneCallCommandInfo();

            info.Name = node.Value;

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

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