reated Class Field
This commit is contained in:
parent
8fc77abdd0
commit
7c913089b5
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue