Пример #1
0
 internal XmlModelConvertContext(
     XmlModelConvertContextBase contextBase,
     XmlSprite sprite,
     IReadOnlyDictionary <XmlLook, Look> looks,
     IReadOnlyDictionary <XmlSound, Sound> sounds,
     IReadOnlyDictionary <XmlUserVariable, LocalVariable> localVariables)
     : base(contextBase, sprite, looks, sounds, localVariables)
 {
     _formulaConverter = new XmlFormulaConverter(LocalVariables.Values, GlobalVariables.Values);
 }
Пример #2
0
 internal XmlModelConvertBackContext(
     XmlModelConvertBackContextBase contextBase,
     Sprite sprite,
     IReadOnlyDictionary <Look, XmlLook> looks,
     IReadOnlyDictionary <Sound, XmlSound> sounds,
     IReadOnlyDictionary <LocalVariable, XmlUserVariable> localVariables)
     : base(contextBase, sprite, looks, sounds, localVariables)
 {
     _formulaConverter = new XmlFormulaConverter();
 }