diff --git a/OGP1718-Worms/src/worms/facade/Facade.java b/OGP1718-Worms/src/worms/facade/Facade.java index 0372ed4..f3fa392 100644 --- a/OGP1718-Worms/src/worms/facade/Facade.java +++ b/OGP1718-Worms/src/worms/facade/Facade.java @@ -20,6 +20,11 @@ public class Facade implements IFacade { * The radius of the new worm (in meter) * @param name * the name of the new worm + * @post the new worm has the given location, direction, name and radius + * |new Worm(Tuple.create(location), direction, name, radius) + * @throws ModelException + * the location, direction, name or radius is not a valid location, direction, name or radius + * |catch(IllegalArgumentException e) */ @Override public Worm createWorm(double[] location, double direction, double radius, String name) throws ModelException {