Package view

Examples of view.InterfaceHandler.register()


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);
      }
    });
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.