| 48 | // |
| 49 | |
| 50 | bool ActionEase::initWithAction(ActionInterval* action) |
| 51 | { |
| 52 | AXASSERT(action != nullptr, "action couldn't be nullptr!"); |
| 53 | if (action == nullptr) |
| 54 | { |
| 55 | return false; |
| 56 | } |
| 57 | |
| 58 | if (ActionInterval::initWithDuration(action->getDuration())) |
| 59 | { |
| 60 | _inner = action; |
| 61 | action->retain(); |
| 62 | |
| 63 | return true; |
| 64 | } |
| 65 | |
| 66 | return false; |
| 67 | } |
| 68 | |
| 69 | ActionEase::~ActionEase() |
| 70 | { |
no test coverage detected