Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ addWeapon
Method
addWeapon
source/gamemap/GameMap.cpp:411–414 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
409
}
410
411
void GameMap::addWeapon(const Weapon* weapon)
412
{
413
mWeapons.push_back(std::pair<const Weapon*,Weapon*>(weapon, nullptr));
414
}
415
416
const Weapon* GameMap::getWeapon(int index)
417
{
Callers
1
processMessage
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected