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

Method push

framework/stagestack.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5{
6
7void StageStack::push(sp<Stage> newStage)
8{
9
10 // Pause any current stage
11 if (this->current())
12 this->current()->pause();
13
14 this->Stack.push_back(newStage);
15 newStage->begin();
16}
17
18sp<Stage> StageStack::pop()
19{

Callers 10

getAccuracyMethod · 0.80
DataImplMethod · 0.80
loadVoxelSliceMethod · 0.80
loadImageSetMethod · 0.80
loadImageMethod · 0.80
loadPaletteMethod · 0.80
runMethod · 0.80
getMoreMusicMethod · 0.80
readNextFrameMethod · 0.80

Calls 3

currentMethod · 0.95
pauseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected