public MudObject() { Nouns = new NounList(); State = ObjectState.Alive; IsPersistent = false; Rules = null; }
public MudObject(String Short, String Long) { Nouns = new NounList(); this.Short = Short; this.Long = Long; Nouns.Add(Short.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)); var firstChar = Short.ToLower()[0]; if (firstChar == 'a' || firstChar == 'e' || firstChar == 'i' || firstChar == 'o' || firstChar == 'u') { Article = "an"; } State = ObjectState.Alive; IsPersistent = false; Rules = null; }