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

Method animate

src/Battlescape/ScannerView.cpp:100–108  ·  view source on GitHub ↗

* Updates the scanner animation. */

Source from the content-addressed store, hash-verified

98 * Updates the scanner animation.
99*/
100void ScannerView::animate()
101{
102 _frame++;
103 if(_frame > 1)
104 {
105 _frame = 0;
106 }
107 _redraw = true;
108}
109
110}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected