You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
297 B

  1. cc.AnimationTarget.ClassName = "AnimationTarget";
  2. function cc.AnimationTarget:saveToXmlNode(xmlNode)
  3. xmlNode.Animation = self:saveAnimation(cc.CURVE_ANIMATION);
  4. end
  5. function cc.AnimationTarget:loadFromXmlNode(xmlNode)
  6. if xmlNode.Animation then
  7. self:loadAnimation(xmlNode.Animation)
  8. end
  9. end