GUI, the beginning
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.