Added new class player.

This commit is contained in:
Speedy Gonzalez
2021-11-26 10:58:19 +01:00
parent 8b61927eae
commit 5e8db04f0d
3 changed files with 22 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
package ch.zhaw.catan;
import java.util.ArrayList;
/**
* New Class PLayer
* This class is here to add players to the game.
* @author: Stefan Amador
*/
public class Player {
private String name;
private Config.Faction faction;
private Config.Resource resource;
public Player (String name, Config.Faction faction){
this.name = new name(" ");
}
}
+1 -1
View File
@@ -98,7 +98,7 @@ import java.util.Map;
public class HexBoardTextView<F, C, E, A> {
private static final String ONE_SPACE = " ";
private static final String TWO_SPACES = " ";
private static final String TWO_SPACES = " ";
private static final String FOUR_SPACES = " ";
private static final String FIVE_SPACES = " ";
private static final String SIX_SPACES = " ";