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

Method getTrapEntity

source/traps/TrapBoulder.cpp:167–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167TrapEntity* TrapBoulder::getTrapEntity(Tile* tile)
168{
169 return new TrapEntity(getGameMap(), *this, reg.getTrapFactory()->getMeshName(), tile, 0.0, false, isActivated(tile) ? 1.0f : 0.5f);
170}

Callers

nothing calls this directly

Calls 1

getTrapFactoryMethod · 0.80

Tested by

no test coverage detected