org.jscience.computing.game.cards
Class JBlackJack

java.lang.Object
  extended by org.jscience.computing.game.JDefaultGame
      extended by org.jscience.computing.game.cards.JBlackJack
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, JGamePlay

public class JBlackJack
extends JDefaultGame
implements java.awt.event.ActionListener

implements the GUI wrapper for BlackJack


Field Summary
 
Fields inherited from class org.jscience.computing.game.JDefaultGame
filter, frame, play
 
Fields inherited from interface org.jscience.computing.game.JGamePlay
gameFrameX, gameFrameY, historyFrameX, historyFrameY, legalMovesFrameX, legalMovesFrameY, prototypeCellValue, redoFrameX, redoFrameY, windowHeight, windowLocationX, windowLocationY, windowWidth
 
Constructor Summary
JBlackJack()
          Creates a new JBlackJack object.
JBlackJack(BlackJack game, Player[] player, int level)
          Creates a new JBlackJack object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          DOCUMENT ME!
 javax.swing.JMenu getMenu()
          DOCUMENT ME!
 JGamePlay getNewGame()
          DOCUMENT ME!
 java.lang.String getStatusMessage()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.game.JDefaultGame
getAutoPlay, getContainer, getDefaultFileExtension, getFileFilter, getHelp, getTitle, setFileFilter, setGame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBlackJack

public JBlackJack()
Creates a new JBlackJack object.


JBlackJack

public JBlackJack(BlackJack game,
                  Player[] player,
                  int level)
Creates a new JBlackJack object.

Parameters:
game - DOCUMENT ME!
player - DOCUMENT ME!
level - DOCUMENT ME!
Method Detail

getStatusMessage

public java.lang.String getStatusMessage()
DOCUMENT ME!

Specified by:
getStatusMessage in interface JGamePlay
Overrides:
getStatusMessage in class JDefaultGame
Returns:
DOCUMENT ME!

getMenu

public javax.swing.JMenu getMenu()
DOCUMENT ME!

Specified by:
getMenu in interface JGamePlay
Overrides:
getMenu in class JDefaultGame
Returns:
DOCUMENT ME!

getNewGame

public JGamePlay getNewGame()
DOCUMENT ME!

Specified by:
getNewGame in interface JGamePlay
Overrides:
getNewGame in class JDefaultGame
Returns:
DOCUMENT ME!

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
DOCUMENT ME!

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - DOCUMENT ME!