net.sf.kagiru.core
Class PuzzleState
java.lang.Object
net.sf.kagiru.core.PuzzleState
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- HaltedState, PlayState
public abstract class PuzzleState
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PuzzleState
public PuzzleState()
signalLeaving
public void signalLeaving(Puzzle puzzle,
PuzzleState newState)
isFinished
public boolean isFinished(Puzzle puzzle)
setPause
public void setPause(Puzzle puzzle,
boolean pause)
throws CannotPauseException
- Throws:
CannotPauseException
canPause
public boolean canPause()
getPause
public boolean getPause()
isCellEditable
public boolean isCellEditable(Puzzle puzzle,
int column,
int row)
getCompletionNumerator
public int getCompletionNumerator(Puzzle puzzle)
getCompletionDenumerator
public int getCompletionDenumerator(Puzzle puzzle)
This code documentation is disclosed as part of . It is licensed under the and comes with NO WARRANTY. See file for more info.