| 275 | } |
| 276 | |
| 277 | void Creature::createMeshLocal() |
| 278 | { |
| 279 | MovableGameEntity::createMeshLocal(); |
| 280 | if(!getIsOnServerMap()) |
| 281 | { |
| 282 | RenderManager::getSingleton().rrCreateCreature(this); |
| 283 | |
| 284 | // By default, we set the creature in idle state |
| 285 | RenderManager::getSingleton().rrSetObjectAnimationState(this, EntityAnimation::idle_anim, true); |
| 286 | } |
| 287 | |
| 288 | createMeshWeapons(); |
| 289 | } |
| 290 | |
| 291 | void Creature::destroyMeshLocal() |
| 292 | { |
nothing calls this directly
no test coverage detected