示例#1
0
    @Override
    public void onEnter() {
      final Game runningGame = GameInput.getRunningGame();
      GameInput.setTargetCursor(
          TargetCursor.makeSquareTargeter(
              runningGame.getWorld(), runningGame.getActivePlayerActor().getCoordinate(), null));

      pauseIfUnpaused();
    }
示例#2
0
    @Override
    public void onEnter() {
      final Game runningGame = GameInput.getRunningGame();
      GameInput.setTargetCursor(
          TargetCursor.makeListTargeter(
              runningGame.getWorld(),
              runningGame.getActivePlayerActor().getInventory().getItemsHeld().size()));

      pauseIfUnpaused();
    }