Click or drag to resize
ThingWithIndefiniteArticle Property
Hartismere School

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

Returns the Thing Name preceded with "a" or "an".

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

Property Value

Type: String
Remarks
Can be changed to something different e.g. "some"
Examples
For "some fruit"...
g.Things.Add("fruit");
g.Things["fruit"].WithDefiniteArticle="some fruit";
g.Things["fruit"].WithIndefiniteArticle="some fruit";
See Also