commentaar set en getLocation

This commit is contained in:
Leen Dereu
2018-03-07 18:49:35 +01:00
parent 480719aa7e
commit 681804af55

View File

@@ -115,7 +115,11 @@ public class Worm {
// region location // region location
//=================================================================================== //===================================================================================
/**
* Return the location of the worm
* the location of the worm expresses the place of the worm
* in the play area
*/
public Tuple<Double, Double> getLocation() { public Tuple<Double, Double> getLocation() {
return this.location; return this.location;
} }