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

Method changeBase

game/ui/base/basestage.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20BaseStage::~BaseStage() = default;
21
22void BaseStage::changeBase(sp<Base> newBase)
23{
24 if (newBase != nullptr)
25 {
26 state->current_base = {state.get(), newBase};
27 }
28}
29
30void BaseStage::refreshView()
31{

Callers 1

beginMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected