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

Method tryDrop

source/entities/MapLight.cpp:224–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224bool MapLight::tryDrop(Seat* seat, Tile* tile)
225{
226 // In editor mode, we allow to drop the MapLight on any tile
227 if(getGameMap()->isInEditorMode())
228 return true;
229
230 return false;
231}
232
233void MapLight::drop(const Ogre::Vector3& v)
234{

Callers 2

isDropHandPossibleMethod · 0.45
handleDefenseMethod · 0.45

Calls 1

isInEditorModeMethod · 0.80

Tested by

no test coverage detected