void ADKBossLevelGameMode::RemovePlatformHolder(class ADKPlatformHolder* Platform) { PlatformHolders.RemoveSingle(Platform); PlatformHolders.Shrink(); Platform->DisableHolder(); if (PlatformHolders.Num() <= 0) { FinishLevel(); } }
int Game::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QGraphicsView::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: step(); break; case 1: FinishLevel(); break; default: ; } _id -= 2; } return _id; }