Package | Description |
---|---|
game | |
gui |
Modifier and Type | Method and Description |
---|---|
Circle |
Truck.getCircle()
Return the circle that represents this truck when it is drawn
|
Circle |
Parcel.getCircle()
Return the circle that represents this Parcel on the GUI
|
Circle |
Node.getCircle()
Return the Circle that represents this node graphically.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setCircle(Circle c)
Set the Circle for this Node to c.
|
Modifier and Type | Class and Description |
---|---|
class |
DraggableCircle
An instance is a circle that can be dragged by the user on the gui
|
Modifier and Type | Method and Description |
---|---|
Circle |
Line.getC1()
Return the first end of this line.
|
Circle |
Line.getC2()
Return the second end of this line.
|
Modifier and Type | Method and Description |
---|---|
double |
Circle.getDistance(Circle c)
Return the distance between the centers of this Circle and c.
|
Vector |
Circle.getVectorTo(Circle c)
Return the vector from the center of this circle to the center of c.
|
boolean |
Circle.locationEquals(Circle c)
Return true iff the this circle has the same center as c
|
Constructor and Description |
---|
Line(Circle c1,
Circle c2,
BoardElement r)
Constructor: a line from c1 to c2 representing r and colored according
to the color policy.
|