|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--betir.RobocupBehavior | +--betir.GoalieUpDownBehavior
This behavior moves the goalie up and down in front of the goal so that he can be in a position to catch shots. He always uses a wide view, and matches the y-position of the ball. He is also always pointed up so that he is always ready to move up or down.
Fields inherited from class betir.RobocupBehavior |
m_bLastWasTurn |
Constructor Summary | |
GoalieUpDownBehavior(RobocupEnvironment env,
DatagramWrapper dg)
|
Method Summary | |
boolean |
canFire()
Determines if a behavior can fire or not |
boolean |
fire()
Execute the behavior |
boolean |
inhibits(RobocupBehavior rb)
Determines if this behavior inhibits another behavior |
Methods inherited from class betir.RobocupBehavior |
angleToAngle, angleToPoint, catchBall, changeView, dash, dashToBall, dashToPoint, findInterceptBall, getZoneDist, kick, move, say, turn, turnHead, withinRange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GoalieUpDownBehavior(RobocupEnvironment env, DatagramWrapper dg)
Method Detail |
public boolean canFire()
RobocupBehavior
canFire
in class RobocupBehavior
public boolean inhibits(RobocupBehavior rb)
RobocupBehavior
inhibits
in class RobocupBehavior
betir.RobocupBehavior
rb
- the behavior to be checkedpublic boolean fire()
RobocupBehavior
fire
in class RobocupBehavior
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |