moved files
This commit is contained in:
@@ -67,7 +67,7 @@ public interface IFacade {
|
|||||||
* Create and return a new worm that is positioned at the given location, looks
|
* 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.
|
* 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
|
* 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
|
* worm followed by the y-coordinate of the position of the new worm
|
||||||
* (in meter)
|
* (in meter)
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
package worms.model;
|
package worms.model;
|
||||||
|
|
||||||
import be.kuleuven.cs.som.annotate.*;
|
import be.kuleuven.cs.som.annotate.*;
|
||||||
|
import worms.util.Tuple;
|
||||||
|
import worms.util.IllegalNameException;
|
||||||
|
|
||||||
public class Worm {
|
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
|
* @post the worm jumps to his new place. The new place is the x-coordinate plus the jump distance
|
||||||
* with the jump velocity
|
* 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
|
* @post the current action points schould be 0 after a jump
|
||||||
* |this.points = 0
|
* |this.points = 0
|
||||||
* @throws IllegalStateException()
|
* @throws IllegalStateException()
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
package worms.util;
|
||||||
|
|
||||||
import be.kuleuven.cs.som.annotate.*;
|
import be.kuleuven.cs.som.annotate.*;
|
||||||
|
|
||||||
/**
|
/**
|
@@ -1,3 +1,5 @@
|
|||||||
|
package worms.util;
|
||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import be.kuleuven.cs.som.annotate.*;
|
import be.kuleuven.cs.som.annotate.*;
|
||||||
|
|
Reference in New Issue
Block a user