org.jscience.computing.game.gomoku
Class JGomoku

java.lang.Object
  extended by org.jscience.computing.game.JDefaultGame
      extended by org.jscience.computing.game.gomoku.JGomoku
All Implemented Interfaces:
JGamePlay

public class JGomoku
extends JDefaultGame

GUI wrapper around GomokuGame for using a JGameFrame


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
JGomoku()
          Creates a new JGomoku object.
JGomoku(GomokuGame game, Player player1, Player player2, int level)
          Creates a new JGomoku object.
 
Method Summary
 java.awt.Container getContainer(GameGUI frame)
          DOCUMENT ME!
 java.awt.Container getHelp()
          DOCUMENT ME!
 JGamePlay getNewGame()
          DOCUMENT ME!
 java.lang.String getStatusMessage()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.game.JDefaultGame
getAutoPlay, getDefaultFileExtension, getFileFilter, getMenu, getTitle, setFileFilter, setGame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGomoku

public JGomoku()
Creates a new JGomoku object.


JGomoku

public JGomoku(GomokuGame game,
               Player player1,
               Player player2,
               int level)
Creates a new JGomoku object.

Parameters:
game - DOCUMENT ME!
player1 - DOCUMENT ME!
player2 - DOCUMENT ME!
level - DOCUMENT ME!
Method Detail

getContainer

public java.awt.Container getContainer(GameGUI frame)
DOCUMENT ME!

Specified by:
getContainer in interface JGamePlay
Overrides:
getContainer in class JDefaultGame
Parameters:
frame - DOCUMENT ME!
Returns:
DOCUMENT ME!

getNewGame

public JGamePlay getNewGame()
DOCUMENT ME!

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

getStatusMessage

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

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

getHelp

public java.awt.Container getHelp()
DOCUMENT ME!

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