| 383 | } |
| 384 | |
| 385 | PlatformHelper* Engine::getPlatformHelper() { |
| 386 | if ( NULL == mPlatformHelper ) { |
| 387 | #if DEFAULT_BACKEND == BACKEND_SDL2 |
| 388 | mPlatformHelper = eeNew( Backend::SDL2::PlatformHelperSDL2, () ); |
| 389 | #endif |
| 390 | } |
| 391 | |
| 392 | return mPlatformHelper; |
| 393 | } |
| 394 | |
| 395 | DisplayManager* Engine::getDisplayManager() { |
| 396 | if ( NULL == mDisplayManager ) { |
no outgoing calls
no test coverage detected