net.sf.kagiru.core
Class PlayState

java.lang.Object
  extended by net.sf.kagiru.core.PuzzleState
      extended by net.sf.kagiru.core.PlayState
All Implemented Interfaces:
java.io.Serializable

public class PlayState
extends PuzzleState

See Also:
Serialized Form

Constructor Summary
PlayState(Puzzle puzzle)
           
 
Method Summary
 boolean canPause()
           
 boolean isCellEditable(Puzzle puzzle, int column, int row)
           
 boolean isFinished(Puzzle puzzle)
           
 boolean isHalted()
           
 void setPause(Puzzle puzzle, boolean pause)
           
 void signalLeaving(Puzzle puzzle, PuzzleState newState)
           
 
Methods inherited from class net.sf.kagiru.core.PuzzleState
getCompletionDenumerator, getCompletionNumerator, getPause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayState

public PlayState(Puzzle puzzle)
Method Detail

isCellEditable

public boolean isCellEditable(Puzzle puzzle,
                              int column,
                              int row)
Overrides:
isCellEditable in class PuzzleState

isFinished

public boolean isFinished(Puzzle puzzle)
Overrides:
isFinished in class PuzzleState

canPause

public boolean canPause()
Overrides:
canPause in class PuzzleState

setPause

public void setPause(Puzzle puzzle,
                     boolean pause)
              throws CannotPauseException
Overrides:
setPause in class PuzzleState
Throws:
CannotPauseException

isHalted

public boolean isHalted()

signalLeaving

public void signalLeaving(Puzzle puzzle,
                          PuzzleState newState)
Overrides:
signalLeaving in class PuzzleState


This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.