| 2 | #include "2d/ActionTween.h" |
| 3 | |
| 4 | GroupColorAction* GroupColorAction::create(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState) |
| 5 | { |
| 6 | GroupColorAction* ret = new GroupColorAction(); |
| 7 | if (ret->initWithDuration(duration, target, from, to, resetGroupState)) |
| 8 | { |
| 9 | ret->autorelease(); |
| 10 | return ret; |
| 11 | } |
| 12 | |
| 13 | delete ret; |
| 14 | return nullptr; |
| 15 | } |
| 16 | |
| 17 | bool GroupColorAction::initWithDuration(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState) |
| 18 | { |
nothing calls this directly
no test coverage detected