edu.gac.mcs178.gack.domain
Class Witch

java.lang.Object
  extended by edu.gac.mcs178.gack.domain.Person
      extended by edu.gac.mcs178.gack.domain.AutoPerson
          extended by edu.gac.mcs178.gack.domain.Witch

public class Witch
extends AutoPerson


Constructor Summary
Witch(java.lang.String name, Place place, int threshold, Place pond)
           
 
Method Summary
 void act()
           
 void curse(Person person)
           
 void turnIntoFrog(Person person)
           
 
Methods inherited from class edu.gac.mcs178.gack.domain.AutoPerson
getRegistry, 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

Witch

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

act

public void act()
Overrides:
act in class AutoPerson

curse

public void curse(Person person)

turnIntoFrog

public void turnIntoFrog(Person person)