moo
Class MOOObject

Direct Known Subclasses:
MOOAgent, MOOExit, MOORoom

public class MOOObject
implements Serializable, MOOWritable


Field Summary
 protected Stringaliases
           
 protected StringmooNumber
           
 protected Stringname
           
 protected Stringparent
           
 protected VectorpropertyList
           
 protected VectorverbList
           

Constructor Summary
MOOObject()
           

Method Summary
 voidaddAlias(String newAlias)
           
 voidaddProperty(Property newProp)
           
 voidaddVerb(Verb newVerb)
           
 voidcreate(PrintWriter out, BufferedReader mooResponse, MOOOut display)
           
 StringgetMOONum()
           
 StringgetName()
           
 StringgetParent()
           
 VectorgetPropertyList()
           
 VectorgetVerbList()
           
 voidsetName(String newName)
           
 voidsetParent(String newParent)
           
 StringtoString()
           
 voidupdate(PrintWriter out, BufferedReader mooResponse, MOOOut display)
           

Field Detail

aliases

protected String aliases

mooNumber

protected String mooNumber

name

protected String name

parent

protected String parent

propertyList

protected Vector propertyList

verbList

protected Vector verbList
Constructor Detail

MOOObject

public MOOObject()
Method Detail

addAlias

public void addAlias(String newAlias)

addProperty

public void addProperty(Property newProp)

addVerb

public void addVerb(Verb newVerb)

create

public void create(PrintWriter out, BufferedReader mooResponse, MOOOut display)
throws java.io.IOException,
MOOException

getMOONum

public String getMOONum()
throws MOOException

getName

public String getName()

getParent

public String getParent()

getPropertyList

public Vector getPropertyList()

getVerbList

public Vector getVerbList()

setName

public void setName(String newName)

setParent

public void setParent(String newParent)

toString

public String toString()

update

public void update(PrintWriter out, BufferedReader mooResponse, MOOOut display)
throws java.io.IOException,
MOOException