Click or drag to resize
GameBucket Property
Hartismere School

[This is preliminary documentation and is subject to change.]

Bucket for this game. Use the Bucket to store consumer values that are saved with the game data.

Namespace: EJW.TextBasedAdventure
Assembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntax
public Bucket Bucket { get; set; }

Property Value

Type: Bucket
Examples
To create a Bucket to store player health:
Game g = new Game("Demo");
g.Bucket["health"] = 100;
See Also