comments
This commit is contained in:
@@ -7,23 +7,28 @@ import worms.util.IllegalNameException;
|
|||||||
import static java.lang.Math.*;
|
import static java.lang.Math.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* a class with the specifications of the worm
|
* A class with the specifications of the worm
|
||||||
*
|
*
|
||||||
* @invar the location of the worm must be a valid location
|
* @invar The location of the worm must be a valid location.
|
||||||
* |isValidLocation(getLocation())
|
* |isValidLocation(getLocation())
|
||||||
* @invar the orientation of the worm must be a valid location
|
* @invar The orientation of the worm must be a valid location.
|
||||||
* |isValidOrientation(getOrientation())
|
* |isValidOrientation(getOrientation())
|
||||||
* @invar the radius of the worm mus be a valid radius
|
* @invar The radius of the worm mus be a valid radius.
|
||||||
* |isValidMinRadius(getRadius())
|
* |isValidMinRadius(getRadius())
|
||||||
* @invar the mass of the worm must be a valid mass
|
* @invar The mass of the worm must be a valid mass.
|
||||||
* |isValidMass(getMass())
|
* |isValidMass(getMass())
|
||||||
* @invar the value of the action points of the worm must be a valid value for action points
|
* @invar The value of the action points of the worm must be a valid value for action points.
|
||||||
* |isValidValueActionPoints(getActionPoints())
|
* |isValidValueActionPoints(getActionPoints())
|
||||||
* @invar the name of the worm must be a valid name
|
* @invar The name of the worm must be a valid name.
|
||||||
* |isValidName(getName())
|
* |isValidName(getName())
|
||||||
*
|
*
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @author Arthur Bols and Leen Dereu
|
* @author Arthur Bols and Leen Dereu
|
||||||
|
*
|
||||||
|
* Arthur Bols 1e bachelor Informatica
|
||||||
|
* Leen Dereu 1e bachelor Informatica
|
||||||
|
*
|
||||||
|
* URL: TODO
|
||||||
*/
|
*/
|
||||||
public class Worm {
|
public class Worm {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user