MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / addToVisibleTiles

Method addToVisibleTiles

src/Savegame/BattleUnit.cpp:1252–1256  ·  view source on GitHub ↗

* Add this unit to the list of visible tiles. Returns true if this is a new one. * @param tile * @return */

Source from the content-addressed store, hash-verified

1250 * @return
1251 */
1252bool BattleUnit::addToVisibleTiles(Tile *tile)
1253{
1254 _visibleTiles.push_back(tile);
1255 return true;
1256}
1257
1258/**
1259 * Get the pointer to the vector of visible tiles.

Callers 1

calculateFOVMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected