Class Display

java.lang.Object
  extended by Display

public class Display
extends java.lang.Object


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

Field Detail

instructions

public javax.swing.JLabel instructions

makeThingsFast

public boolean makeThingsFast

textToSpeech

public com.sun.speech.freetts.FreeTTS textToSpeech
Constructor Detail

Display

public Display()
Method Detail

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()