public interface AnimatorBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addHorizontalRoad(Road l,
int i,
int j,
boolean eastToWest)
Add the horizontal
Road to the display, west of position i,j. |
void |
addLight(Light d,
int i,
int j)
Add the
Light to the display at position i,j. |
void |
addVerticalRoad(Road l,
int i,
int j,
boolean southToNorth)
Add the vertical
Road to the display, north of position i,j. |
Animator |
getAnimator()
Returns the
Animator. |
Animator getAnimator()
Animator.
This method may be called only once; subsequent calls throw an
IllegalStateException.void addHorizontalRoad(Road l, int i, int j, boolean eastToWest)
Road to the display, west of position i,j.
If eastToWest is true, then road position 0 is the eastmost position.
If eastToWest is false, then road position 0 is the westmost position.void addVerticalRoad(Road l, int i, int j, boolean southToNorth)
Road to the display, north of position i,j.
If southToNorth is true, then road position 0 is the southmost position.
If southToNorth is false, then road position 0 is the northmost position.