Basis commentaar locatie

This commit is contained in:
Leen Dereu
2018-03-07 16:21:44 +01:00
parent 4429f2dc0f
commit faba6f0f11

View File

@@ -105,6 +105,13 @@ public class Worm {
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 {
if (location.equals(null))