cursor.setLocation(getHexLocation(newPos));
cursor.setHexLocation(newPos);
    private void moveCursor(CursorSprite cursor, Coords newPos) {        final Rectangle oldBounds = new Rectangle(cursor.getBounds());        if (newPos != null) {            cursor.setLocation(getHexLocation(newPos));        } else {            cursor.setLocation(-100, -100);        }        // repaint affected area        repaintBounds(oldBounds);        repaintBounds(cursor.getBounds());    }