public static void LoadScene(ISceneKeeper scene) { phiColManager.ClearGroups(); ShelterMgr.ClearGroups(); drawManager.ClearGroups(); updateMgr.ClearGroups(); visionMgr.ClearGroups(); scene.RegistDrawables(drawManager); scene.RegistPhiCol(phiColManager); scene.RegistShelter(ShelterMgr); scene.RegistUpdaters(updateMgr); scene.RegistVision(visionMgr); curSceneKeeper = scene; }
public static void LoadScene ( ISceneKeeper scene ) { phiColManager.ClearGroups(); ShelterMgr.ClearGroups(); drawManager.ClearGroups(); updateMgr.ClearGroups(); visionMgr.ClearGroups(); scene.RegistDrawables( drawManager ); scene.RegistPhiCol( phiColManager ); scene.RegistShelter( ShelterMgr ); scene.RegistUpdaters( updateMgr ); scene.RegistVision( visionMgr ); curSceneKeeper = scene; }