Game Class | ![]() |
[This is preliminary documentation and is subject to change.]
Namespace: EJW.TextBasedAdventure
The Game type exposes the following members.
Name | Description | |
---|---|---|
![]() | Game(String) |
Create a new console game
|
![]() ![]() | Game(TextBox) |
Create a GUI game
|
Name | Description | |
---|---|---|
![]() | AllVocab | Returns a list of all known vocabulary |
![]() ![]() | Bucket |
Bucket for this game. Use the Bucket to store consumer values that are saved with the game data.
|
![]() | Options |
Set of Options that control the behaviour of this Game.
|
![]() | Parser |
The Parser that parses input from the player and build an Instruction
|
![]() | PrincipalVocab | Returns a list of the first synonym for all known vocabulary |
![]() | RawGameData | Gets or Sets the binary data for this game. |
![]() | Rooms | Collection of all Rooms in this game |
![]() | Things | Collection of all Things in this game |
![]() | Title |
Title for this game. Displays in teh Console Title bar.
|
Name | Description | |
---|---|---|
![]() | Goto | Sets the current room. |
![]() | Help | |
![]() | Load | |
![]() | Parse |
Send some text to the parser to be processed.
|
![]() | Quit | Call to quit the game engine at the end of the current parse. |
![]() | Restart | |
![]() | Save | |
![]() | Start | Sets the current room (if null) to the first room, displays current room description and waits for user input |
![]() ![]() | TypeText |
Types the text into the console(non-GUI) or control(GUI) simulating a typewriter.
|
Name | Description | |
---|---|---|
![]() | PostProcess | Executes before anything else. |
![]() | PreProcess | Executes before anything else. |