| 15 | } |
| 16 | |
| 17 | bool GroupColorAction::initWithDuration(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState) |
| 18 | { |
| 19 | if (ActionInterval::initWithDuration(duration)) |
| 20 | { |
| 21 | _resetGroupState = resetGroupState; |
| 22 | _target = target; |
| 23 | _to = to; |
| 24 | _from = from; |
| 25 | return true; |
| 26 | } |
| 27 | |
| 28 | return false; |
| 29 | } |
| 30 | |
| 31 | void GroupColorAction::startWithTarget(ax::Node* target) |
| 32 | { |