| Package | Description |
|---|---|
| game | |
| gui |
| Modifier and Type | Method and Description |
|---|---|
Parcel |
Truck.getLoad()
Return the parcel this Truck is carrying.
|
Parcel |
Node.getRandomParcel()
Return a random parcel at this node.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashSet<Parcel> |
Node.getParcels()
Return a copy of set of parcels on this Node (prevents editing the set)
|
java.util.Set<Parcel> |
Manager.getParcels()
Return the undelivered Parcels in this Game.
|
java.util.Set<Parcel> |
Board.getParcels()
Return the parcels in this board that have not yet been delivered.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Node.isParcelHere(Parcel p)
Return true iff p is on this node.
|
void |
Truck.pickupLoad(Parcel p)
Pick up parcel p at the current location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GUI.removeParcel(Parcel p)
Remove the given parcel from the gui - called internally by game
when a parcel is successfully delivered.
|