| 41 | |
| 42 | |
| 43 | LoadingLayer* LoadingLayer::create() { |
| 44 | LoadingLayer* pRet = new LoadingLayer(); |
| 45 | if (pRet->init()) { |
| 46 | pRet->autorelease(); |
| 47 | return pRet; |
| 48 | } else { |
| 49 | delete pRet; |
| 50 | pRet = nullptr; |
| 51 | return nullptr; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | |
| 56 | constexpr static auto splashes = std::to_array <const char*>({ |