|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectDumbBrain
public class DumbBrain
A dumb beast brain that just keeps on with the same direction and emotion.
| Constructor Summary | |
|---|---|
DumbBrain()
|
|
| Method Summary | |
|---|---|
Direction |
chooseDirection(BeastInfo info,
IPackFinder packFinder)
Keep going whatever direction you are going. |
BeastMood |
chooseMood(BeastInfo info,
IPackFinder packFinder)
Choose a neutral mood. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DumbBrain()
| Method Detail |
|---|
public BeastMood chooseMood(BeastInfo info,
IPackFinder packFinder)
chooseMood in interface IBeastBraininfo - information about this beast (what its brain knows about its
body/state), must be non-nullpackFinder - a pack finder to tell this beast about its pack (must
be non-null)
public Direction chooseDirection(BeastInfo info,
IPackFinder packFinder)
chooseDirection in interface IBeastBraininfo - information about this beast (what its brain knows about its
body/state), must be non-nullpackFinder - a pack finder to tell this beast about its pack (must
be non-null)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||