moved files

This commit is contained in:
2018-03-07 21:53:31 +01:00
parent 4a6cc78999
commit d51de2eea5
4 changed files with 8 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public interface IFacade {
* Create and return a new worm that is positioned at the given location, looks
* in the given direction, has the given radius and the given name.
*
* @param coordinates
* @param location
* An array containing the x-coordinate of the position of the new
* worm followed by the y-coordinate of the position of the new worm
* (in meter)

View File

@@ -1,6 +1,8 @@
package worms.model;
import be.kuleuven.cs.som.annotate.*;
import worms.util.Tuple;
import worms.util.IllegalNameException;
public class Worm {
/**
@@ -453,7 +455,7 @@ public class Worm {
*
* @post the worm jumps to his new place. The new place is the x-coordinate plus the jump distance
* with the jump velocity
* |Tuple.create(location.item1 + jumpDistance(this.jumpVelocity), location.item2)
* |worms.util.Tuple.create(location.item1 + jumpDistance(this.jumpVelocity), location.item2)
* @post the current action points schould be 0 after a jump
* |this.points = 0
* @throws IllegalStateException()

View File

@@ -1,3 +1,5 @@
package worms.util;
import be.kuleuven.cs.som.annotate.*;
/**

View File

@@ -1,3 +1,5 @@
package worms.util;
import java.util.Objects;
import be.kuleuven.cs.som.annotate.*;