コード例 #1
0
ファイル: Game.java プロジェクト: winki/SpaceWars
  /** Processes all that has to be repeated in the game loop. */
  protected void process() {
    // get user inputs
    Keyboard.captureState();
    Mouse.captureState();

    // update game state
    update(gameTime);

    // render graphics
    Screen.getInstance().render();
  }