e.g. new Menu().open(new MenuManager<Menu>(), player) or similar example won't compile because the AbstractMenu.openMenuManager parameter's generic type is weirdly written and I don't know how to define it correctly in a way that enables self-menu referencing.
e.g.
new Menu().open(new MenuManager<Menu>(), player)
or similar example won't compile because theAbstractMenu.open
MenuManager
parameter's generic type is weirdly written and I don't know how to define it correctly in a way that enables self-menu referencing.