diff --git a/src/ch/zhaw/catan/Player.java b/src/ch/zhaw/catan/Player.java index 7fafac1..4eb49b8 100644 --- a/src/ch/zhaw/catan/Player.java +++ b/src/ch/zhaw/catan/Player.java @@ -37,6 +37,19 @@ public class Player { return resources; } + /** + * This method returns player faction + * @return + */ + public Config.Faction getFaction() { return faction; } + + /** + * This method returns for specific resource how much player possesess. + * @param resource + * @return + */ + public int getSpecificResource(Config.Resource resource) { return resources.get(resource); } + /** * This method adds a specific resource to resourcess * @param resource to add