public class PBuildRoad
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
(package private) Coordinate |
end |
(package private) boolean |
free |
private static long |
serialVersionUID |
(package private) Coordinate |
start |
Constructor and Description |
---|
PBuildRoad() |
PBuildRoad(Coordinate start,
Coordinate end,
boolean free) |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getEnd() |
Coordinate |
getStart() |
boolean |
isFree() |
void |
setEnd(Coordinate end) |
void |
setFree(boolean free) |
void |
setStart(Coordinate start) |
private static final long serialVersionUID
Coordinate start
Coordinate end
boolean free
public PBuildRoad()
public PBuildRoad(Coordinate start, Coordinate end, boolean free)
start
- end
- free
- public boolean isFree()
public void setFree(boolean free)
free
- the free to setpublic Coordinate getStart()
public void setStart(Coordinate start)
start
- the start to setpublic Coordinate getEnd()
public void setEnd(Coordinate end)
end
- the end to set