>xabsl 2
Behavior Documentation
>
Index
>Agents
>Symbols
>Basic Behaviors
>Options
>> vlc-handle-ball
>>>
ball-in-center-of-field
Option vlc-handle-ball
the VLC handling option (very much like the penalty shooter of 2004)
State Machine
This browser can't display the SVG file
svg/option_vlc-handle-ball.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
State ball-in-center-of-field
If that state is active,
>
The option
turn-and-release
is executed.
The decision tree:
This browser can't display the SVG file
svg/option_vlc-handle-ball_state_ball-in-center-of-field.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
Pseudo code of the decision tree:
if
(
strategy.ball-is-handled-at-the-moment
)
// ball is handled
{
transition-to-state(
ball-in-center-of-field
);
}
else if
(
ball.just-seen
)
// ball seen
{
transition-to-state(
ball-in-center-of-field
);
}
else
{
transition-to-state(
ball-in-center-of-field
);
}