Click or drag to resize
ThingBucket Property
Hartismere School

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

A Bucket object for the Thing.

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 set a a torch on or off
Game g = new Game("Demo");
g.Things.Add("Torch");
g.Things["Torch"].Bucket["is_on"] = false;
See Also