commentaar variabelen

This commit is contained in:
Leen Dereu
2018-03-07 16:15:44 +01:00
parent 00e082400f
commit 4429f2dc0f

View File

@@ -9,20 +9,39 @@ public class Worm {
private Tuple<Double, Double> location; private Tuple<Double, Double> location;
private Tuple<Double, Double> oldLocation; private Tuple<Double, Double> oldLocation;
// Orientation /**
* this variable contains the orientation of the worm
*/
private double orientation; private double orientation;
// shape /**
* this variable contains the radius of the worm
*/
private double radius; private double radius;
/**
* this variable contains the minimum value of the radius
*/
private final double minRadius; private final double minRadius;
// mass
/**
* this variable contains the mass of the worm
*/
private double mass; private double mass;
// points /**
* this variable contains the current action points of the worm
*/
private int points; private int points;
/**
* this variable contains the maximum points a worm can have
*/
private int maxPoints; private int maxPoints;
// name /**
* this variable contains the name of the worm
*/
private String name; private String name;
//=================================================================================== //===================================================================================