Basis commentaar locatie
This commit is contained in:
@@ -105,6 +105,13 @@ public class Worm {
|
|||||||
return this.location;
|
return this.location;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* sets the location of the worm to the given location
|
||||||
|
*
|
||||||
|
* @param location
|
||||||
|
*
|
||||||
|
* @throws IllegalArgumentException
|
||||||
|
*/
|
||||||
private void setLocation(Tuple<Double, Double> location) throws IllegalArgumentException {
|
private void setLocation(Tuple<Double, Double> location) throws IllegalArgumentException {
|
||||||
|
|
||||||
if (location.equals(null))
|
if (location.equals(null))
|
||||||
|
Reference in New Issue
Block a user