Merge pull request #15

Add: PlayerTest.java Added Javadoc For All Card Lists.
This commit is contained in:
GabrieleRadice
2026-04-11 16:44:56 +02:00
committed by GitHub
@@ -59,14 +59,39 @@ public class Player {
case GATHERER -> gatherers.size();
};
}
/**
* The List containing all {@link BuildingCard Building Cards} the player currently posses.
*/
public ArrayList <BuildingCard> buildingCards;
/**
* The List containing all {@link Artist Artist Character Cards} the player currently posses.
*/
public ArrayList <Artist> artists;
/**
* The List containing all {@link Builder Builder Character Cards} the player currently posses.
*/
public ArrayList <Builder> builders;
/**
* The List containing all {@link Inventor Inventor Character Cards} the player currently posses.
*/
public ArrayList <Inventor> inventors;
/**
* The List containing all {@link Gatherer Gatherer Character Cards} the player currently posses.
*/
public ArrayList <Gatherer> gatherers;
/**
* The List containing all {@link Shaman Shaman Character Cards} the player currently posses.
*/
public ArrayList <Shaman> shamans;
/**
* The List containing all {@link Hunter Hunter Character Cards} the player currently posses.
*/
public ArrayList <Hunter> hunters;
private int FoodValue;