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

Method updateAnimations

source/gamemap/GameMap.cpp:1300–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298}
1299
1300void GameMap::updateAnimations(Ogre::Real timeSinceLastFrame)
1301{
1302 if(mIsPaused)
1303 return;
1304
1305 if(getTurnNumber() <= 0)
1306 return;
1307
1308 // Update the animations on all AnimatedObjects
1309 for(MovableGameEntity* mge : mAnimatedObjects)
1310 mge->update(timeSinceLastFrame);
1311}
1312
1313void GameMap::playerIsFighting(Player* player, Tile* tile)
1314{

Callers 1

startNewTurnMethod · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected