public void moveToken(int nextTile) { if (nextTile > MAX_TILE_INDEX) gameScreen.giveSalary(playerTurn); int circularIndex = nextTile % 40; gameScreen.setPlayerLocation(playerTurn, circularIndex); tokens[playerTurn].setLocation( tileLocations[circularIndex][0], tileLocations[circularIndex][1]); repaint(); revalidate(); gameScreen.exacuteTileAction(playerTurn, circularIndex); }