MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Dispose

Method Dispose

Source/GUI/scriptable_ui.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void ScriptableUI::Dispose() {
129 ModLoading::Instance().DeRegisterCallback(this);
130
131 as_context->CallScriptFunction(as_funcs.dispose);
132
133 delete as_context;
134 delete hud_images;
135}
136
137void ScriptableUI::Draw() {
138 as_context->CallScriptFunction(as_funcs.draw_gui);

Callers 1

clearTextAtlasesMethod · 0.45

Calls 2

DeRegisterCallbackMethod · 0.80
CallScriptFunctionMethod · 0.45

Tested by

no test coverage detected