public int getBeingByPosition(double x, double y){
        for (int i = 0; i < beings.size(); i++){
            if ( sqrt( (x - beings.get(i).getX())*(x - beings.get(i).getX()) + (y - beings.get(i).getY())*(y - beings.get(i).getY())) < RADIUS_TOUCH_DETECT  ){
                return i;
            }
        }
        return -1;
    }