public class PBuildSettlement
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
free |
private Coordinate |
location |
private static long |
serialVersionUID |
Constructor and Description |
---|
PBuildSettlement() |
PBuildSettlement(Coordinate location,
boolean free) |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getLocation() |
boolean |
isFree() |
void |
setFree(boolean free) |
void |
setLocation(Coordinate location) |
private static final long serialVersionUID
private Coordinate location
private boolean free
public PBuildSettlement()
public PBuildSettlement(Coordinate location, boolean free)
location
- free
- public Coordinate getLocation()
public void setLocation(Coordinate location)
location
- the location to setpublic boolean isFree()
public void setFree(boolean free)
free
- the free to set