public void clickedRightMouse(Point p) {
		int x = (int) (p.getX() / tileSize);
		int y = (int) (p.getY() / tileSize);
		int locX = (int) ((p.getX() - (x * tileSize)) / (tileSize / 3));
		int locY = (int) ((p.getY() - (y * tileSize)) / (tileSize / 3));
		
		switch(currentState) {
			case OBJECT_ERASER:
			case OBJECT_PENCIL:
				if (x < map.getMapWidth() && x >= 0 && y >= 0 && y < map.getMapHeight()) {
					Tile t = map.getTile(x, y, true);
					int loc = (locY * 3) + locX;
				}
				break;
			default:
				break;
		}
		
		repaint();
	}