| Things Class |
[This is preliminary documentation and is subject to change.]
Namespace: EJW.TextBasedAdventure
The Things type exposes the following members.
| Name | Description | |
|---|---|---|
| Carried |
List of all Things carried
| |
| CarriedOrWorn | List of all Things carried and worn | |
| Count | Count of all Things in the Game. | |
| ItemInt32 | Get a Thing by its position in the collection. | |
| ItemString | Get a Thing by its Name. | |
| Names |
Collection of Names of all known Things
| |
| New |
Creates a new Thing
| |
| Worn |
List of all Things worn
|
| Name | Description | |
|---|---|---|
| Add(String) | Adds a new Thing to the collection of Things. | |
| Add(String, String) |
Adds a new Thing to the collection of Things.
The Thing starts off hidden. | |
| Add(String, String, Room) | Adds a new Thing to the collection of Things. | |
| Add(String, String, String) | Adds a new Thing to the collection of Things. | |
| GetEnumerator | Internal: Enumerator for Thing collection. | |
| Inventory | ||
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| InventoryOverride | Used to override the default Inventory Text. |