Example #1
0
 /// <summary>
 /// A generic cloning method that works when everything is public
 /// </summary>
 /// <returns>A duplicate of the sprite info.</returns>
 public SpriteInfo Clone()
 {
     return(SpriteDatabase.CloneByXMLSerializing <SpriteInfo>(this));
 }
Example #2
0
 /// <summary>
 /// A generic cloning method that works when everything is public
 /// </summary>
 /// <returns>A clone of the specified AnimationInfo</returns>
 public AnimationInfo Clone()
 {
     return(SpriteDatabase.CloneByXMLSerializing <AnimationInfo>(this));
 }