Esempio n. 1
0
 /// <summary>
 /// Called when a scheme is being saved
 /// </summary>
 /// <param name="Compound">Use this to save data</param>
 public virtual void SaveAll(IO.ComponentData Compound)
 {
     Compound.SetType(GetType());
     Compound.Add("ID", ID);
     Compound.Add("Position", Graphics.Position);
     Compound.Add("Size", Graphics.Size);
     Compound.Add("Visible", Graphics.Visible);
     Compound.Add("Rotation", rotation.GetHashCode());
     Compound.Add("Removable", isRemovable);
 }