コード例 #1
0
ファイル: StateManager.java プロジェクト: TiperX/ProjectDB
  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();
  }