Click or drag to resize
Constants Class
Hartismere School

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

Description of Engine.
Inheritance Hierarchy
SystemObject
  EJW.TextBasedAdventureConstants

Namespace: EJW.TextBasedAdventure
Assembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntax
public static class Constants

The Constants type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberLegalChars
string of characters that are allowed.
Top
Methods
  NameDescription
Public methodStatic memberCommaList
A comma seperated list where the last comma is replaced for "and"
Public methodStatic memberContains
Searches a string[] for a given word
Public methodStatic memberLineWrap
Wraps the given string to fit in the given width
Public methodStatic memberMatches
Both strings are Simplified, and return true if equal
Public methodStatic memberSentenceCase
Converts a string to Sentance case
Public methodStatic memberSimplify
Returns text that only contains characters in LegalChars
Top
See Also