reated Class Field

This commit is contained in:
schrom01 2021-12-03 11:15:07 +01:00
parent 8fc77abdd0
commit 7c913089b5
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package ch.zhaw.catan;
public class Field {
private Config.Land land;
public Field(Config.Land land){
this.land = land;
}
public Config.Resource getResource(){
return land.getResource();
}
public Config.Land getLand() {
return land;
}
}