|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of BeastInfo in <Unnamed> |
---|
Methods in <Unnamed> that return BeastInfo | |
---|---|
BeastInfo |
Beast.getInfo()
Fetch the beast's current info. |
BeastInfo |
IPackFinder.getLeader(BeastInfo beast)
Get the leader of the provided beast's pack (or null if no leader exists). |
BeastInfo |
AllBeastsPack.getLeader(BeastInfo beast)
Return the leader of the pack: whoever goes first. |
BeastInfo[] |
IPackFinder.getPack(BeastInfo beast)
Get the pack of the provided beast. |
BeastInfo[] |
AllBeastsPack.getPack(BeastInfo beast)
Return a pack of all the beasts in the world. |
Methods in <Unnamed> with parameters of type BeastInfo | |
---|---|
Direction |
IBeastBrain.chooseDirection(BeastInfo me,
IPackFinder packFinder)
Choose the next direction for this beast. |
Direction |
DumbBrain.chooseDirection(BeastInfo info,
IPackFinder packFinder)
Keep going whatever direction you are going. |
Direction |
RandomWalkingBrain.chooseDirection(BeastInfo me,
IPackFinder packFinder)
Choose a direction at random. |
BeastMood |
IBeastBrain.chooseMood(BeastInfo me,
IPackFinder packFinder)
Choose the next mood for this beast. |
BeastMood |
DumbBrain.chooseMood(BeastInfo info,
IPackFinder packFinder)
Choose a neutral mood. |
BeastMood |
RandomWalkingBrain.chooseMood(BeastInfo me,
IPackFinder packFinder)
Choose a mood based on my distance from the first point where I was created. |
BeastInfo |
IPackFinder.getLeader(BeastInfo beast)
Get the leader of the provided beast's pack (or null if no leader exists). |
BeastInfo |
AllBeastsPack.getLeader(BeastInfo beast)
Return the leader of the pack: whoever goes first. |
BeastInfo[] |
IPackFinder.getPack(BeastInfo beast)
Get the pack of the provided beast. |
BeastInfo[] |
AllBeastsPack.getPack(BeastInfo beast)
Return a pack of all the beasts in the world. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |