|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.act365.sudoku.MaskState
MaskState is broadly similar to InvulnerableState except that it calculates the state for a mask - no values are involved. Unlike the other state classes, MaskState does not implement IState.
InvulnerableState,
IState| Constructor Summary | |
MaskState()
|
|
| Method Summary | |
void |
addCell(int x,
int y)
Adds the cell (x,y) to the state grid. |
void |
setup(int boxesAcross,
int boxesDown)
Sets the state grid to the appropriate size. |
java.lang.String |
toString()
Produces a string representation of the state grid. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MaskState()
| Method Detail |
public void setup(int boxesAcross,
int boxesDown)
IState.setup(int,int)
public void addCell(int x,
int y)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||