|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CrosswordSource
Interface to implement for other data sources for the Crossword game.
Method Summary | |
---|---|
CrosswordPuzzle |
getGame()
Return the game object. |
HashMap |
getParamMap()
All the params of the source... |
String |
getPuzzleId()
Returns a unique id (if available) representing the current puzzle. |
void |
load()
Load the source into the game object and validate it. |
void |
load(String puzzleId)
Load the source into the game object and validate it. |
Method Detail |
---|
CrosswordPuzzle getGame()
load()
HashMap getParamMap()
void load()
String getPuzzleId()
load(String)
, this same puzzle will be loaded at that
time.
void load(String puzzleId)
puzzleId
- a string previuosly returned from getPuzzleId()
for this source.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |