updates in JavaDoc

This commit is contained in:
schrom01
2021-12-09 19:29:00 +01:00
parent 378fdde58a
commit 99eab9ad69
3 changed files with 23 additions and 4 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ import java.util.List;
//TODO Java Doc
/**
* New Class PLayer
* This class is here in order to maintain the resources of the players, the amount of structures that they can build,
* control to see if a player has enough to build a new structure and to add them into a faction.
*/
@@ -16,7 +15,7 @@ public class Player {
private final HashMap<Config.Structure, Integer> structureToUse;
/**
* The constructor creates a new instance of the player class that initializes the Hashmap resources and structureToUse.
* The constructor initializes the faction and the Hashmaps resources and structureToUse.
*
* @param faction this is the faction of the player.
*/