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

Method animate

src/Battlescape/MiniMapView.cpp:388–396  ·  view source on GitHub ↗

* Updates the minimap animation. */

Source from the content-addressed store, hash-verified

386 * Updates the minimap animation.
387 */
388void MiniMapView::animate()
389{
390 _frame++;
391 if(_frame > MAX_FRAME)
392 {
393 _frame = 0;
394 }
395 _redraw = true;
396}
397
398void MiniMapView::stopScrolling(Action *action)
399{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected