package ctrl;
import game.GameSystem;
import org.lwjgl.input.Keyboard;
import view.InterfaceHandler;
public class Controller {
public static void main(String[] args) {
InterfaceHandler output = new InterfaceHandler();
output.register(new InputHandler(Keyboard.KEY_ESCAPE) {
@Override
public void execute() {
System.exit(0);
}
});
output.run(new GameSystem());
}
}