#ifdef INTERFACE
-CLASS(XonoticGametypeList) EXTENDS(XonoticListBox)
+CLASS(XonoticGametypeList, XonoticListBox)
METHOD(XonoticGametypeList, configureXonoticGametypeList, void(entity))
ATTRIB(XonoticGametypeList, rowsPerItem, float, 2)
METHOD(XonoticGametypeList, drawListBoxItem, void(entity, float, vector, float))
entity makeXonoticGametypeList(void)
{
entity me;
- me = spawnXonoticGametypeList();
+ me = NEW(XonoticGametypeList);
me.configureXonoticGametypeList(me);
return me;
}