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

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

      pauseIfUnpaused();
    }