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

Method createMeshLocal

source/entities/MapLight.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64void MapLight::createMeshLocal()
65{
66 MovableGameEntity::createMeshLocal();
67
68 if(getIsOnServerMap())
69 return;
70
71 // Only show the visual light entity if we are in editor mode
72 RenderManager::getSingleton().rrCreateMapLight(this, getGameMap()->isInEditorMode());
73}
74
75void MapLight::destroyMeshLocal()
76{

Callers

nothing calls this directly

Calls 2

rrCreateMapLightMethod · 0.80
isInEditorModeMethod · 0.80

Tested by

no test coverage detected