org.moyoman.client.reference
Interface IMoyoman

All Superinterfaces:
IGUIConstants
All Known Implementing Classes:
Moyoman

public interface IMoyoman
extends IGUIConstants

Defines methods required by users of the Moyoman main GUI class.

Since:
v0.03
Version:
v0.15
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from interface org.moyoman.client.reference.util.IGUIConstants
DEBUG, DIRTY_PROPERTY, GAP, MARGIN, TRANSPARENT_COLOR
 
Method Summary
 void checkActions()
          Check the actions for their enabled status.
 Board getBoard()
          Return the board.
 CommandExecutor getCommandExecutor()
          Return the command executor.
 GameEngineSwingWorker getEngine()
          Return the game engine.
 JFrame getFrame()
          Return this application's frame.
 boolean isAutoMove()
          Return true if auto-move is selected.
 void nextMoveActionPerformed(ActionEvent event)
          Perform the next move action.
 void reconcileBoard(GameRecord gameRecord)
          Reconcile the board to the game record.
 void startGameSwingWorkerFinished(String statusMessage, PlayerManager playerManager)
          Perform final actions on the event-dispatching thread.
 

Method Detail

isAutoMove

public boolean isAutoMove()
Return true if auto-move is selected.

Since:
v0.03

getBoard

public Board getBoard()
Return the board.

Since:
v0.03

getCommandExecutor

public CommandExecutor getCommandExecutor()
Return the command executor.

Since:
v0.03

getEngine

public GameEngineSwingWorker getEngine()
Return the game engine.

Since:
v0.03

getFrame

public JFrame getFrame()
Return this application's frame.

Since:
v0.03

checkActions

public void checkActions()
Check the actions for their enabled status.

Since:
v0.03

nextMoveActionPerformed

public void nextMoveActionPerformed(ActionEvent event)
Perform the next move action. This is used when Auto Move is false.

Since:
v0.15

reconcileBoard

public void reconcileBoard(GameRecord gameRecord)
Reconcile the board to the game record.

Since:
v0.03

startGameSwingWorkerFinished

public void startGameSwingWorkerFinished(String statusMessage,
                                         PlayerManager playerManager)
Perform final actions on the event-dispatching thread.

Since:
v0.03