private static bool SpriteRequirementsMet(Sprite sp, double version) { //TODO: If a vector based Sprite, make sure it has a scale return true; }
private static void ProcessSprite(ref Sprite sp, XmlNode spriteComponent, double version) { //TODO: Extra components to a Sprite: If a vector based Sprite, get the scale of the sprite }
private static void SpecifySpriteRequirements(Sprite sp, double version, ContentProcessorContext context) { //If vector based Sprite, print out that a scale is required and default to a scale of 1 for 1 }
private static Sprite CopySprite(Sprite src) { if (src is BitmapSprite) { BitmapSprite dstB = new BitmapSprite(); dstB.SpriteID = ((BitmapSprite)src).SpriteID; dstB.Visible = src.Visible; dstB.DrawOrder = src.DrawOrder; return dstB; } return null; }