From 2f73e0f684d8c79b87d716b38f8dd5434336e3e1 Mon Sep 17 00:00:00 2001 From: Leen Dereu Date: Sat, 10 Mar 2018 16:02:00 +0100 Subject: [PATCH] TODO lijst toegevoegd (moet misschien nog uitgebreid worden) --- OGP1718-Worms/src/worms/model/Worm.java | 2 +- docs/TODO.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 docs/TODO.txt 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