示例#1
0
  public static void launch() {
    stateList.add(new Menu());
    Listener l = new Listener();
    Constants.STAGE.addKeyListener(l);
    Constants.STAGE.addMouseMotionListener(l);
    Constants.STAGE.addMouseListener(l);

    loop();
  }