Skip to content

GUI, the beginning

Compare
Choose a tag to compare
@svenar-nl svenar-nl released this 02 Oct 19:47
· 32 commits to master since this release

Changelog

  • Menu.java | Logger.java
    • Initial commit

Logger: Easy organize your output data using logger.
Logger log = new Logger("prefix");
log.info("Hello World!");


Menu: Create menu's for your game (useMouse not implemented yet!)
Menu menu = new Menu(GameCore gc, ArrayList<String> items) {
@Override
public void optionSelected(String name, int id) {
log.info("user selected: " + name);
}
};

Requirements:
menu.update(GameCore gc); Required
menu.render(GameCore gc, Render r); Required


Did we miss something?

Feel free to post it here.