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.map.Castle;
|
||||
|
||||
/**
|
||||
* Be the first to capture all flag goals
|
||||
* @author joachim
|
||||
*
|
||||
*/
|
||||
public class CaptureTheFlagGoal extends Goal {
|
||||
|
||||
final static boolean DEBUG = true;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@ import game.Goal;
|
|||
import game.Player;
|
||||
import game.map.Castle;
|
||||
|
||||
/**
|
||||
* Derjenige Spieler gewinnt, der als erstes jeweils 10 Truppen auf 5 Burgen bringt
|
||||
* @author dennis
|
||||
*
|
||||
*/
|
||||
public class PopulationGoal extends Goal {
|
||||
|
||||
private int populationNeeded = 10;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ import game.Goal;
|
|||
import game.Player;
|
||||
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 {
|
||||
|
||||
int maxRounds;
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
package tests.student;
|
||||
|
||||
public class GraphAlgorithmTest {
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue