public boolean isInside(Point point) {
private boolean isInside(Point point) {
        public boolean isInside(Point point) {            return entityRect.contains(point.x + view.x - offset.x,                    point.y + view.y - offset.y);        }