Class Display
java.lang.Object
Display
public class Display
- extends java.lang.Object
Nested Class Summary |
(package private) class |
Display.DoorPanel
Graphics widget for the doors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instructions
public javax.swing.JLabel instructions
makeThingsFast
public boolean makeThingsFast
textToSpeech
public com.sun.speech.freetts.FreeTTS textToSpeech
Display
public Display()
buildTheStage
public void buildTheStage()
closeAllDoors
public void closeAllDoors()
displaySwitchOrStayOptionsForPlayer
public void displaySwitchOrStayOptionsForPlayer(Player thePlayer)
hideSwitchOrStayOptions
public void hideSwitchOrStayOptions()
markInitialChoice
public void markInitialChoice(int door)
openDoor
public void openDoor(int door)
placeCar
public void placeCar(int door)
say
public void say(java.lang.String message)
setDoorsSelectableByPlayer
public void setDoorsSelectableByPlayer(Player player)
setDoorsUnselectable
public void setDoorsUnselectable()
setupNewGame
public void setupNewGame()