---------------------------------------------------------------------
| 1664 | } |
| 1665 | //--------------------------------------------------------------------- |
| 1666 | MovableObjectFactory *Root::getMovableObjectFactory( const String &typeName ) |
| 1667 | { |
| 1668 | MovableObjectFactoryMap::iterator i = mMovableObjectFactoryMap.find( typeName ); |
| 1669 | if( i == mMovableObjectFactoryMap.end() ) |
| 1670 | { |
| 1671 | OGRE_EXCEPT( Exception::ERR_ITEM_NOT_FOUND, |
| 1672 | "MovableObjectFactory of type " + typeName + " does not exist", |
| 1673 | "Root::getMovableObjectFactory" ); |
| 1674 | } |
| 1675 | return i->second; |
| 1676 | } |
| 1677 | //--------------------------------------------------------------------- |
| 1678 | void Root::removeMovableObjectFactory( MovableObjectFactory *fact ) |
| 1679 | { |
no test coverage detected