diff --git a/OGP1718-Worms/src/worms/model/Worm.java b/OGP1718-Worms/src/worms/model/Worm.java index 9c40ea8..f92d207 100644 --- a/OGP1718-Worms/src/worms/model/Worm.java +++ b/OGP1718-Worms/src/worms/model/Worm.java @@ -165,6 +165,7 @@ public class Worm { */ private void setOrientation(double orientation) { // TODO nominal checking + // TODO enkel 0 - 2pi toegelaten (isValidOrientation => invar) this.orientation = orientation; } @@ -258,7 +259,6 @@ public class Worm { /** * Return the mass of the worm * the mass of the worm expresses the weight of the worm - * */ @Basic public double getMass() { diff --git a/docs/TODO.txt b/docs/TODO.txt new file mode 100644 index 0000000..2fc6cb6 --- /dev/null +++ b/docs/TODO.txt @@ -0,0 +1,12 @@ +* zorgen dat @invar klopt in de code +* documentatie: - Worm + - Worm + - getMaxActionPoints + - decreaseActionPoints + - canTurn + - Tuple (methode) +* testen schrijven +* documentatie Facade +* is Facade klaar? +* @-statements +* class Worm nakijken op totaal/nominaal/defensief programmeren \ No newline at end of file