Esempio n. 1
0
        public override IModuleDataModel Clone()
        {
            var data = new FaceData();

            data.PhonemeList    = new Dictionary <string, Boolean>(PhonemeList, StringComparer.OrdinalIgnoreCase);
            data.FaceComponents = new Dictionary <FaceComponent, bool>(FaceComponents);
            data.DefaultColor   = DefaultColor;
            return(data);
        }
Esempio n. 2
0
 public override void SetDefaultValues()
 {
     if (_data == null)
     {
         _data = new FaceData();
     }
     _data.PhonemeList    = new Dictionary <string, bool>(StringComparer.OrdinalIgnoreCase);
     _data.FaceComponents = new Dictionary <FaceComponent, bool>();
     DefaultColor         = System.Drawing.Color.White;
 }
Esempio n. 3
0
 public FaceModule()
 {
     _data = new FaceData();
 }