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

Method getCoveredTile

source/entities/Creature.cpp:1826–1835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1824}
1825
1826Tile* Creature::getCoveredTile(int index)
1827{
1828 if(index > 0)
1829 {
1830 OD_LOG_ERR("name=" + getName() + ", index=" + Helper::toString(index));
1831 return nullptr;
1832 }
1833
1834 return getPositionTile();
1835}
1836
1837uint32_t Creature::numCoveredTiles() const
1838{

Callers 2

handleIdleActionMethod · 0.45

Calls 1

toStringFunction · 0.50

Tested by

no test coverage detected