Add more javadoc
This commit is contained in:
parent
c3284910eb
commit
a3eab9ae7e
4 changed files with 16 additions and 5 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
package tests.student;
|
|
||||||
|
|
||||||
public class GraphAlgorithmTest {
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue