Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
BaseStage::~BaseStage() = default;
21
22
void BaseStage::changeBase(sp<Base> newBase)
23
{
24
if (newBase != nullptr)
25
{
26
state->current_base = {state.get(), newBase};
27
}
28
}
29
30
void BaseStage::refreshView()
31
{
Callers
1
begin
Method · 0.95
Calls
1
get
Method · 0.45
Tested by
no test coverage detected