|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Director
This class creates a graphics window, adds Props to the scene, and controls their actions.
| Constructor Summary | |
Director()
Create a new Director and all the required accessories. |
|
| Method Summary | |
void |
action()
Direct the action on stage and create new Cars as appropriate. |
Car |
getCarWithNumber(int number)
Retrieve the Car object from the specified position in the roster or null if no such position exists. |
static void |
main(java.lang.String[] arg)
The main() method instantiates a new Director object, creates the Props, starts the action, and displays a notice when the Action is complete. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Director()
| Method Detail |
public void action()
public Car getCarWithNumber(int number)
number - the integer position for the Car being sought in
the roster
public static void main(java.lang.String[] arg)
arg - a String array, currently ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||