|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IPackFinder in <Unnamed> |
---|
Classes in <Unnamed> that implement IPackFinder | |
---|---|
class |
AllBeastsPack
A pack that just gives back all the beasts in the world. |
Methods in <Unnamed> that return IPackFinder | |
---|---|
IPackFinder |
Beast.getPackFinder()
Fetch the beast's current pack finder. |
Methods in <Unnamed> with parameters of type IPackFinder | |
---|---|
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. |
void |
Beast.setPackFinder(IPackFinder packFinder)
Set the beast's current pack finder. |
Constructors in <Unnamed> with parameters of type IPackFinder | |
---|---|
Beast(IBeastBrain brain,
IPackFinder packFinder)
Construct a new beast with the given brain and packFinder. |
|
Beast(IBeastBrain brain,
IPackFinder packFinder,
double x,
double y,
BeastMood mood,
double speed)
Create a new beast with the given data. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |