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

Method begin

game/ui/city/buildingscreen.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58BuildingScreen::~BuildingScreen() = default;
59
60void BuildingScreen::begin()
61{
62 auto agentAssignmentPlaceholder = menuform->findControlTyped<Graphic>("AGENT_ASSIGNMENT");
63 agentAssignment = menuform->createChild<AgentAssignment>(state);
64 agentAssignment->init(ui().getForm("city/agentassignment"),
65 agentAssignmentPlaceholder->Location, agentAssignmentPlaceholder->Size);
66 agentAssignment->setLocation(building);
67}
68
69void BuildingScreen::pause() {}
70

Callers

nothing calls this directly

Calls 3

initMethod · 0.45
getFormMethod · 0.45
setLocationMethod · 0.45

Tested by

no test coverage detected