Add more javadoc

This commit is contained in:
joachimschmidt557 2019-03-26 18:05:58 +01:00
parent c3284910eb
commit a3eab9ae7e
4 changed files with 16 additions and 5 deletions

View file

@ -10,6 +10,11 @@ import game.Goal;
import game.Player; import game.Player;
import game.map.Castle; import game.map.Castle;
/**
* Be the first to capture all flag goals
* @author joachim
*
*/
public class CaptureTheFlagGoal extends Goal { public class CaptureTheFlagGoal extends Goal {
final static boolean DEBUG = true; final static boolean DEBUG = true;

View file

@ -10,6 +10,11 @@ import game.Goal;
import game.Player; import game.Player;
import game.map.Castle; import game.map.Castle;
/**
* Derjenige Spieler gewinnt, der als erstes jeweils 10 Truppen auf 5 Burgen bringt
* @author dennis
*
*/
public class PopulationGoal extends Goal { public class PopulationGoal extends Goal {
private int populationNeeded = 10; private int populationNeeded = 10;

View file

@ -9,6 +9,12 @@ import game.Goal;
import game.Player; import game.Player;
import game.map.Castle; import game.map.Castle;
/**
* Derjenige Spieler gewinnt, der nach einer bestimmten Anzahl an
* Runden die meisten Burgen besitzt.
* @author dennis
*
*/
public class TimeGoal extends Goal { public class TimeGoal extends Goal {
int maxRounds; int maxRounds;

View file

@ -1,5 +0,0 @@
package tests.student;
public class GraphAlgorithmTest {
}