reated Class Field
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user