Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ addNeighbor
Method
addNeighbor
source/entities/Tile.cpp:431–435 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
429
}
430
431
void Tile::addNeighbor(Tile *n)
432
{
433
mNeighbors.push_back(n);
434
mNbWorkersDigging.push_back(0);
435
}
436
437
Tile* Tile::getNeighbor(unsigned int index)
438
{
Callers
1
setTileNeighbors
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected