From faba6f0f11a03d93b190b3f6683beab39db7425c Mon Sep 17 00:00:00 2001 From: Leen Dereu Date: Wed, 7 Mar 2018 16:21:44 +0100 Subject: [PATCH] Basis commentaar locatie --- OGP1718-Worms/src/Worm.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OGP1718-Worms/src/Worm.java b/OGP1718-Worms/src/Worm.java index f6393af..55e15b0 100644 --- a/OGP1718-Worms/src/Worm.java +++ b/OGP1718-Worms/src/Worm.java @@ -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 location) throws IllegalArgumentException { if (location.equals(null))