|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.startup.chargen.CharacterGenerator
Implements the default interface a character generator must have to confirm to the UI. All character generaqtors must fulfill the following conditions:
getGeneratedData must block until
a consistent character has been generated and confirmed by the
player (and then return the appropriate data structure) or
until the player aborts his attempt (and then return a null
reference).
| Constructor Summary | |
|---|---|
CharacterGenerator()
|
|
| Method Summary | |
|---|---|
static CharacterGenerator |
getCharacterGenerator()
Returns an instance of the currently selected character generator. |
abstract CharacterData |
getGeneratedData()
Returns a freshly generated character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterGenerator()
| Method Detail |
|---|
public abstract CharacterData getGeneratedData()
null if the attempt was abortedpublic static CharacterGenerator getCharacterGenerator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||