net.sf.kagiru.core
Class DefinitionState

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

public class DefinitionState
extends HaltedState

See Also:
Serialized Form

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

Constructor Detail

DefinitionState

public DefinitionState()
Method Detail

isCellEditable

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

isBeingDefined

public boolean isBeingDefined()

getCompletionNumerator

public int getCompletionNumerator(Puzzle puzzle)
Overrides:
getCompletionNumerator in class PuzzleState

getCompletionDenumerator

public int getCompletionDenumerator(Puzzle puzzle)
Overrides:
getCompletionDenumerator 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.