Пример #1
0
        public static MusicTreeEnvironment CreateFrom(IEnumerable <ConditionVariable> varDescriptions)
        {
            var result = new MusicTreeEnvironment();

            foreach (var varDescription in varDescriptions)
            {
                result.values.Add(varDescription.name, new ConditionVariableValue(varDescription.value));
            }

            return(result);
        }
Пример #2
0
 public PlaybackStepNodeVisitor(MusicTreeEnvironment environment)
 {
     this.Environment = environment;
 }