A C D I M N O S

A

ArchSimApp - class ArchSimApp.
Archaeological Dig:
The ArchSimApp class provides the main method for a simulation of an archaeological dig.
ArchSimApp() - Constructor for class ArchSimApp
 
ArchSimDisplay - class ArchSimDisplay.
Archaeological Dig:
The ArchSimDisplay class extends the ScrollableGridDisplay class to allow hidden objects to not be displayed.
ArchSimDisplay(int, int, int) - Constructor for class ArchSimDisplay
Constructs a new ArchSimDisplay object with no grid and an empty view.
ArchSimDisplay(int, int, int, Color) - Constructor for class ArchSimDisplay
Constructs a new ArchSimDisplay object with no grid and an empty view.
ArchSimGUI - class ArchSimGUI.
Archaeological Dig:
An ArchSimGUI object represents a window with control buttons and a display for an archaeological dig simulation.
ArchSimGUI(String, JMenu, Color, Color, Color, int, ArchSimulation) - Constructor for class ArchSimGUI
Constructs a new ArchSimGUI object.
ArchSimGridBlock - class ArchSimGridBlock.
Archaeological Dig:
An ArchSimGridBlock object represents a grid block in a site map for an archaeological dig.
ArchSimGridBlock(Grid, Location, String, Color) - Constructor for class ArchSimGridBlock
Initializes a new ArchSimGridBlock object.
ArchSimulation - interface ArchSimulation.
Archaeological Dig:
An ArchSimulation object controls the simulation of digging around artifacts in an archaeological dig.

C

constructDisplay(int, int, int, Color) - Method in class ArchSimGUI
 

D

DummyArchSimulation - class DummyArchSimulation.
Archaeological Dig:
The DummyArchSimulation object controls the simulation of digging around artifacts in an archaeological dig.
DummyArchSimulation() - Constructor for class DummyArchSimulation
 
dig(Location) - Method in interface ArchSimulation
Handles a mouse click on a location of the grid.
dig(Location) - Method in class DummyArchSimulation
Handles a mouse click on a location of the grid.
digSuccessful() - Method in interface ArchSimulation
Returns true if the simulation is over and the user successfully identified all artifact locations without damaging any; false otherwise.
digSuccessful() - Method in class DummyArchSimulation
Returns true if the simulation is over and the user successfully identified all artifact locations without damaging any; false otherwise.
drawGridObject(Graphics2D, GridObject) - Method in class ArchSimDisplay
Draws one GridObject instance.

I

initialize() - Method in class ArchSimGUI
Starts or restarts the application.
isHidden() - Method in class ArchSimGridBlock
Return true if the contents of this grid block is still hidden; otherwise, returns false.
isVisible() - Method in class ArchSimGridBlock
Returns true if the contents of this grid block is now visible (meaning that archaeologists have explored this site location); otherwise, returns false.

M

main(String[]) - Static method in class ArchSimApp
 

N

notifyArtifactDamaged() - Method in class ArchSimGUI
Notifies the user that at least one artifact was damaged.
notifyDigSuccessfullyCompleted() - Method in class ArchSimGUI
Notifies the user that he or she completed the simulation successfully.

O

onMousePressOverDisplay(Location) - Method in class ArchSimGUI
 

S

setGrid(Grid) - Method in class ArchSimGUI
 
simulationOver() - Method in interface ArchSimulation
Returns true if the simulation is over; otherwise, returns false.
simulationOver() - Method in class DummyArchSimulation
Returns true if the simulation is over; otherwise, returns false.
startSimulation(Grid) - Method in interface ArchSimulation
Starts or restarts the application.
startSimulation(Grid) - Method in class DummyArchSimulation
Starts or restarts the application.

A C D I M N O S