Skip to content
Snippets Groups Projects
SimpleCookieCutterSensor.java 840 B
package mv3302.sensor;

import simkit.smd.Mover;

/**
 *
 * A simple implementation of a cookie cutter sensor for detecting objects using
 * a mover and a maximum range. Extends the AbstractSimpleSensor class.
 */
public class SimpleCookieCutterSensor extends AbstractSimpleSensor {

    /**
     * Constructs a new instance of SimpleCookieCutterSensor with default
     * values.
     */
    public SimpleCookieCutterSensor() {
        super();
    }

    /**
     * Constructs a new instance of SimpleCookieCutterSensor with the specified
     * mover and maximum range.
     *
     * @param mover the mover object associated with the sensor
     * @param maxRange the maximum range at which the sensor can detect objects
     */
    public SimpleCookieCutterSensor(Mover mover, double maxRange) {
        super(mover, maxRange);
    }
}