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

Method updateVisibleEntities

source/gamemap/GameMap.cpp:2804–2815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2802}
2803
2804void GameMap::updateVisibleEntities()
2805{
2806 // Notify what happened to entities on visible tiles
2807 for (int jj = 0; jj < getMapSizeY(); ++jj)
2808 {
2809 for (int ii = 0; ii < getMapSizeX(); ++ii)
2810 {
2811 Tile* tile = getTile(ii,jj);
2812 tile->notifyEntitiesSeatsWithVision();
2813 }
2814 }
2815}
2816
2817void GameMap::fireRefreshEntities()
2818{

Callers 1

startNewTurnMethod · 0.80

Calls 1

Tested by

no test coverage detected