| 56 | } |
| 57 | |
| 58 | TransitionScene* TransitionScene::create(float t, Scene* scene) |
| 59 | { |
| 60 | TransitionScene* pScene = new TransitionScene(); |
| 61 | if (pScene->initWithDuration(t, scene)) |
| 62 | { |
| 63 | pScene->autorelease(); |
| 64 | return pScene; |
| 65 | } |
| 66 | AX_SAFE_DELETE(pScene); |
| 67 | return nullptr; |
| 68 | } |
| 69 | |
| 70 | bool TransitionScene::initWithDuration(float t, Scene* scene) |
| 71 | { |
nothing calls this directly
no test coverage detected