MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / shuffle

Method shuffle

framework/jukebox.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 ~JukeBoxImpl() override { this->stop(); }
37
38 void shuffle() { std::shuffle(trackList.begin(), trackList.end(), rng); }
39
40 void play(PlayList list, PlayMode mode) override
41 {

Callers 1

progressTrackMethod · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected