Beispiel #1
0
 public void SetVector(string name, WZVector set)
 {
     IMGEntry e = GetChild(name);
     if (e == null && name.IndexOf("/") == -1)
     {
         e = new IMGEntry(this);
         e.Name = name;
         e.value = set;
         Add(e);
     }
     else if (e != null)
     {
         e.SetVector(set);
     }
 }
Beispiel #2
0
 private static void CreateEntry(IMGEntry parent, WZVector obj)
 {
     parent.value = new WZVector(obj.x, obj.y);
 }
Beispiel #3
0
 public void SetVector(WZVector set)
 {
     if (value == null)
     {
         value = set;
     }
     if (value.type == WZObject.WZObjectType.WZ_VECTOR)
     {
         value = set;
     }
 }