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

Method addWorkerClaiming

source/entities/Tile.cpp:1844–1851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842}
1843
1844bool Tile::addWorkerClaiming(const Creature& worker)
1845{
1846 if(!canWorkerClaim(worker))
1847 return false;
1848
1849 ++mNbWorkersClaiming;
1850 return true;
1851}
1852
1853bool Tile::removeWorkerClaiming(const Creature& worker)
1854{

Calls

no outgoing calls

Tested by

no test coverage detected