MCPcopy 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
431void Tile::addNeighbor(Tile *n)
432{
433 mNeighbors.push_back(n);
434 mNbWorkersDigging.push_back(0);
435}
436
437Tile* Tile::getNeighbor(unsigned int index)
438{

Callers 1

setTileNeighborsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected