diff --git a/OGP1718-Worms/src/Worm.java b/OGP1718-Worms/src/Worm.java index abf37de..f6393af 100644 --- a/OGP1718-Worms/src/Worm.java +++ b/OGP1718-Worms/src/Worm.java @@ -9,20 +9,39 @@ public class Worm { private Tuple location; private Tuple oldLocation; - // Orientation + /** + * this variable contains the orientation of the worm + */ private double orientation; - // shape + /** + * this variable contains the radius of the worm + */ private double radius; + + /** + * this variable contains the minimum value of the radius + */ private final double minRadius; - // mass + + /** + * this variable contains the mass of the worm + */ private double mass; - // points + /** + * this variable contains the current action points of the worm + */ private int points; + + /** + * this variable contains the maximum points a worm can have + */ private int maxPoints; - // name + /** + * this variable contains the name of the worm + */ private String name; //===================================================================================