File size: 450 Bytes
24b81cb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
class EarlyAccessMenu extends UIScriptedMenu
{
void EarlyAccessMenu()
{
}
void ~EarlyAccessMenu()
{
}
override Widget Init()
{
layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/day_z_early_access.layout");
return layoutRoot;
}
override bool OnClick(Widget w, int x, int y, int button)
{
super.OnClick(w, x, y, button);
if (w.GetUserID() == IDC_OK)
{
Close();
return true;
}
return false;
}
}
|