---------------------------------------------------------------------
| 331 | } |
| 332 | //--------------------------------------------------------------------- |
| 333 | PagedWorldSection* PageManager::createWorldSection(const String& typeName, |
| 334 | const String& name, PagedWorld* parent, SceneManager* sm) |
| 335 | { |
| 336 | PagedWorldSectionFactory* fact = getWorldSectionFactory(typeName); |
| 337 | if (!fact) |
| 338 | OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND, |
| 339 | typeName + " is not the name of a valid PagedWorldSectionFactory", |
| 340 | "PageManager::createWorldSection"); |
| 341 | |
| 342 | return fact->createInstance(name, parent, sm); |
| 343 | } |
| 344 | //--------------------------------------------------------------------- |
| 345 | void PageManager::destroyWorldSection(PagedWorldSection* coll) |
| 346 | { |
nothing calls this directly
no test coverage detected