edu.gac.mcs178.gack.domain
Class AutoPerson

java.lang.Object
  extended by edu.gac.mcs178.gack.domain.Person
      extended by edu.gac.mcs178.gack.domain.AutoPerson
Direct Known Subclasses:
Witch, Wizard

public class AutoPerson
extends Person


Constructor Summary
AutoPerson(java.lang.String name, Place place, int threshold)
           
 
Method Summary
 void act()
           
static Registry getRegistry()
           
 void maybeAct()
           
 
Methods inherited from class edu.gac.mcs178.gack.domain.Person
getName, getPlace, getPossessions, go, greet, haveFit, listPossessions, lookAround, lose, moveTo, otherPeopleAtSamePlace, otherThingsAtSamePlace, read, say, setName, take, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoPerson

public AutoPerson(java.lang.String name,
                  Place place,
                  int threshold)
Method Detail

getRegistry

public static Registry getRegistry()

maybeAct

public void maybeAct()

act

public void act()