public class ScrambleWordPuzzle extends AbstractWordPuzzle
"hello"
then a puzzle word might be "lohel"
.Constructor and Description |
---|
ScrambleWordPuzzle(String word)
Create a scrambled word puzzle given the solution word.
|
Modifier and Type | Method and Description |
---|---|
String |
getPuzzleWord()
Get the puzzle word.
|
getWord, toString
public ScrambleWordPuzzle(String word)
word
- the solution wordpublic String getPuzzleWord()
getPuzzleWord
in class AbstractWordPuzzle
AbstractWordPuzzle.getPuzzleWord()