public void mouseClicked(MouseEvent event) {
            Point point = event.getPoint();
            double x = point.getX();
            double y = point.getY();
            if (run.contains(point)) {
                try {
                    //field.findPath();
                    field.findWay();
                    if (field.pathExists() == PathExistanceType.NOPATH ) {
                       drawMars.noLife = true;
                    } else {
                        drawMars.noLife = false;
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            } else if (random.contains(point)) {
                field.generateField();
                drawMars.noLife = false;
            } else if (clean.contains(point)) {
                field.cleanField();
                drawMars.noLife = false;
            }
            drawMars.repaint();


        }