diff --git a/.idea/misc.xml b/.idea/misc.xml index c3dfb30..6bc01a8 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/ch/zhaw/catan/Player.java b/src/ch/zhaw/catan/Player.java new file mode 100644 index 0000000..63490f3 --- /dev/null +++ b/src/ch/zhaw/catan/Player.java @@ -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(" "); + + } +} diff --git a/src/ch/zhaw/hexboard/HexBoardTextView.java b/src/ch/zhaw/hexboard/HexBoardTextView.java index 97c51af..b3eeb98 100644 --- a/src/ch/zhaw/hexboard/HexBoardTextView.java +++ b/src/ch/zhaw/hexboard/HexBoardTextView.java @@ -98,7 +98,7 @@ import java.util.Map; public class HexBoardTextView { 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 = " ";