|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--DummyArchSimulation
Archaeological Dig:
The DummyArchSimulation object controls the
simulation of digging around artifacts in an archaeological dig.
| Constructor Summary | |
DummyArchSimulation()
|
|
| Method Summary | |
void |
dig(edu.kzoo.grid.Location loc)
Handles a mouse click on a location of the grid. |
boolean |
digSuccessful()
Returns true if the simulation is over and the user successfully identified all artifact locations without damaging any; false otherwise. |
boolean |
simulationOver()
Returns true if the simulation is over; otherwise, returns false. |
void |
startSimulation(edu.kzoo.grid.Grid grid)
Starts or restarts the application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyArchSimulation()
| Method Detail |
public void startSimulation(edu.kzoo.grid.Grid grid)
startSimulation in interface ArchSimulationpublic void dig(edu.kzoo.grid.Location loc)
dig in interface ArchSimulationpublic boolean simulationOver()
simulationOver in interface ArchSimulationpublic boolean digSuccessful()
digSuccessful in interface ArchSimulation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||