Commit ba2639e3 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Move "getTargetAP" to LocationSensor

parent f580c0fc
...@@ -43,13 +43,6 @@ public interface LocationActuator extends LocationSensor { ...@@ -43,13 +43,6 @@ public interface LocationActuator extends LocationSensor {
*/ */
public void updateCurrentLocation(Location newLocation); public void updateCurrentLocation(Location newLocation);
/**
* Returns the current target {@link AttractionPoint} a node is approaching.
*
* @return
*/
public AttractionPoint getCurrentTargetAttractionPoint();
/** /**
* A way to interact with node movement from within applications and the * A way to interact with node movement from within applications and the
* like. This is an optional operation - it is expected to throw an * like. This is an optional operation - it is expected to throw an
......
...@@ -78,7 +78,8 @@ public interface LocationSensor extends SensorComponent { ...@@ -78,7 +78,8 @@ public interface LocationSensor extends SensorComponent {
public LocationRequest getLocationRequest(); public LocationRequest getLocationRequest();
/** /**
* Retrieve the targeted {@link AttractionPoint} * Retrieve the targeted {@link AttractionPoint}, representing the location
* the node is currently approaching.
* *
* @return * @return
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment