private void drawSensor(Graphics2D g) {
        SensorEnum dir = this.sensor.getFireDirection();
        if (dir != null) {
            switch (dir) {
                case NORTH:
                    g.fillRect(this.robot.getPoint().x() + ROBOT_WIDTH / 2, 0, SENSOR_WIDTH, this.robot.getPoint().y());
                    break;
                case SOUTH:
                    g.fillRect(this.robot.getPoint().x() + ROBOT_WIDTH / 2, this.robot.getPoint().y() + ROBOT_WIDTH, SENSOR_WIDTH, DIM_Y - this.robot.getPoint().y());
                    break;
                case EAST:
                    g.fillRect(this.robot.getPoint().x() + ROBOT_WIDTH, this.robot.getPoint().y() + ROBOT_WIDTH / 2, DIM_X - this.robot.getPoint().x(), SENSOR_WIDTH);
                    break;
                case WEST:
                    g.fillRect(0, this.robot.getPoint().y() + ROBOT_WIDTH / 2, this.robot.getPoint().x(), SENSOR_WIDTH);
                    break;
            }
        }
    }