commentaar variabelen
This commit is contained in:
@@ -9,20 +9,39 @@ public class Worm {
|
||||
private Tuple<Double, Double> location;
|
||||
private Tuple<Double, Double> 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;
|
||||
|
||||
//===================================================================================
|
||||
|
Reference in New Issue
Block a user