Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ addToGameMap
Method
addToGameMap
source/traps/Trap.cpp:90–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
}
89
90
void Trap::addToGameMap()
91
{
92
getGameMap()->addTrap(this);
93
getGameMap()->addActiveObject(this);
94
}
95
96
void Trap::removeFromGameMap()
97
{
Callers
11
processClientNotifications
Method · 0.45
processMessage
Method · 0.45
handleSearchTileToDig
Method · 0.45
handleDigTile
Method · 0.45
shoot
Method · 0.45
buildTrapDefault
Method · 0.45
shoot
Method · 0.45
readGameMapFromFile
Function · 0.45
readGameEntity
Function · 0.45
tryUseFight
Method · 0.45
cSrvAddCreature
Function · 0.45
Calls
2
addTrap
Method · 0.80
addActiveObject
Method · 0.80
Tested by
no test coverage detected