|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.gac.mcs178.gack.domain.Person
edu.gac.mcs178.gack.domain.AutoPerson
edu.gac.mcs178.gack.domain.Witch
public class Witch
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 |
---|
public Witch(java.lang.String name, Place place, int threshold, Place pond)
Method Detail |
---|
public void act()
act
in class AutoPerson
public void curse(Person person)
public void turnIntoFrog(Person person)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |