commentaar createWorm
This commit is contained in:
@@ -20,6 +20,11 @@ public class Facade implements IFacade {
|
|||||||
* The radius of the new worm (in meter)
|
* The radius of the new worm (in meter)
|
||||||
* @param name
|
* @param name
|
||||||
* the name of the new worm
|
* 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
|
@Override
|
||||||
public Worm createWorm(double[] location, double direction, double radius, String name) throws ModelException {
|
public Worm createWorm(double[] location, double direction, double radius, String name) throws ModelException {
|
||||||
|
Reference in New Issue
Block a user