Package | Description |
---|---|
game | |
gui |
Modifier and Type | Class and Description |
---|---|
class |
Edge
Class Edge in ShippingGame allows creation of the connections between Nodes
along which Trucks can travel.
|
class |
Node
A Node (vertex) on the board of the game.
|
class |
Parcel
Class Parcel represents a carriable and deliverable package
in the game.
|
class |
Truck
CLass Truck is a runnable object that represents a single Truck in the game.
|
Constructor and Description |
---|
Circle(BoardElement r,
int x,
int y,
int d)
Constructor: an instance at (x, y) of diameter d and colored black
that represents r and is not filled.
|
Circle(BoardElement r,
int x,
int y,
int d,
java.awt.Color c,
boolean filled)
Constructor: an instance at (x, y) of diameter d and colored c
that represents r and is filled iff filled.
|
DraggableCircle(BoardElement r,
int x,
int y,
int d)
Constructor: an instance at (x, y) of diameter d that represents r.
|
Line(Circle c1,
Circle c2,
BoardElement r)
Constructor: a line from c1 to c2 representing r and colored according
to the color policy.
|