Exemplo n.º 1
0
        public static SceneCallCommandInfo LoadCallCommand(XElement node)
        {
            var info = new SceneCallCommandInfo();

            info.Name = node.Value;

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

            info.Name = node.Value;

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

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