MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / createMeshLocal

Method createMeshLocal

source/entities/Creature.cpp:277–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void 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
291void Creature::destroyMeshLocal()
292{

Callers

nothing calls this directly

Calls 2

rrCreateCreatureMethod · 0.80

Tested by

no test coverage detected