Package view

Examples of view.InterfaceHandler


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());

  }
View Full Code Here

TOP

Related Classes of view.InterfaceHandler

Copyright © 2018 www.massapicom. 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.