public interface IDecisionMaker
Modifier and Type | Method and Description |
---|---|
boolean |
decide()
Called to take a decision on what to do next.
|
IBehavior |
getBehavior(java.lang.String name) |
IBelief |
getBelieve(java.lang.String name) |
IBehavior |
getCurrentBehavior() |
IBehavior |
getDesiredBehavior() |
boolean decide()
IBelief getBelieve(java.lang.String name)
name
- the name of the believe as specified in IBeliefIBehavior getBehavior(java.lang.String name)
name
- the name of the behavior as specified in IBeliefIBehavior getCurrentBehavior()
IBehavior getDesiredBehavior()