Documentatie util
This commit is contained in:
@@ -4,6 +4,12 @@ import be.kuleuven.cs.som.annotate.Basic;
|
|||||||
import be.kuleuven.cs.som.annotate.Immutable;
|
import be.kuleuven.cs.som.annotate.Immutable;
|
||||||
import be.kuleuven.cs.som.annotate.Value;
|
import be.kuleuven.cs.som.annotate.Value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class of Coordinates involving a coordinateX and coordinateY.
|
||||||
|
*
|
||||||
|
* @version 2.0
|
||||||
|
* @author Arthur Bols & Leen Dereu
|
||||||
|
*/
|
||||||
@Value
|
@Value
|
||||||
public class Coordinate extends Tuple<Double, Double> {
|
public class Coordinate extends Tuple<Double, Double> {
|
||||||
|
|
||||||
|
@@ -3,12 +3,11 @@ package worms.util;
|
|||||||
import be.kuleuven.cs.som.annotate.*;
|
import be.kuleuven.cs.som.annotate.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A class for signalling illegal names for worms
|
* A class for signalling illegal names for worms.
|
||||||
*
|
|
||||||
* Each illegal name exception involves the name and the index of the character where the error occurred.
|
* Each illegal name exception involves the name and the index of the character where the error occurred.
|
||||||
*
|
*
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @author Arthur Bols / Leen Dereu
|
* @author Arthur Bols & Leen Dereu
|
||||||
*/
|
*/
|
||||||
public class IllegalNameException extends RuntimeException {
|
public class IllegalNameException extends RuntimeException {
|
||||||
|
|
||||||
|
@@ -4,6 +4,12 @@ import worms.model.Worm;
|
|||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class for a TeamComparator involving two worms.
|
||||||
|
*
|
||||||
|
* @version 1.0
|
||||||
|
* @author Arthur Bols & Leen Dereu
|
||||||
|
*/
|
||||||
public class TeamComparator implements Comparator<Worm> {
|
public class TeamComparator implements Comparator<Worm> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -12,7 +12,6 @@ import java.util.Objects;
|
|||||||
* @param <T1> first element type
|
* @param <T1> first element type
|
||||||
* @param <T2> second element type
|
* @param <T2> second element type
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @version 1.2
|
* @version 1.2
|
||||||
* @author Arthur Bols & Leen Dereu
|
* @author Arthur Bols & Leen Dereu
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user