class UIMain { UIMain() { _panel = g_ui.CreatePanel(""); } void Update() { _panel.Update(); } Panel _panel; }