|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Archaeological Dig:
An ArchSimulation
object controls the simulation
of digging around artifacts in an archaeological dig.
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. |
Method Detail |
public void startSimulation(edu.kzoo.grid.Grid grid)
public void dig(edu.kzoo.grid.Location loc)
public boolean simulationOver()
public boolean digSuccessful()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |