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

Method begin

game/ui/city/alertscreen.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34AlertScreen::~AlertScreen() = default;
35
36void AlertScreen::begin()
37{
38 auto agentAssignmentPlaceholder = menuform->findControlTyped<Graphic>("AGENT_ASSIGNMENT");
39 agentAssignment = menuform->createChild<AgentAssignment>(state);
40 agentAssignment->init(ui().getForm("city/agentassignment"),
41 agentAssignmentPlaceholder->Location, agentAssignmentPlaceholder->Size);
42 agentAssignment->setLocation();
43}
44
45void AlertScreen::pause() {}
46

Callers

nothing calls this directly

Calls 3

initMethod · 0.45
getFormMethod · 0.45
setLocationMethod · 0.45

Tested by

no test coverage detected