mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-12-17 10:36:07 -05:00
Move off the HashMap stuff, stick a ParkingCoordinate inside a
ParkingLot
This commit is contained in:
@ -4,6 +4,7 @@ public class ParkingLot {
|
||||
|
||||
private ParkingChoice location;
|
||||
private int filled_pct;
|
||||
private ParkingCoordinate coordinate;
|
||||
|
||||
public int getFilledPct() {
|
||||
return filled_pct;
|
||||
@ -17,5 +18,11 @@ public class ParkingLot {
|
||||
public void setLocation(ParkingChoice location) {
|
||||
this.location = location;
|
||||
}
|
||||
public ParkingCoordinate getCoordinate() {
|
||||
return coordinate;
|
||||
}
|
||||
public void setCoordinate(ParkingCoordinate coordinate) {
|
||||
this.coordinate = coordinate;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user