クラス rcsc::Body_HoldBall

stay there and keep the ball from opponent players. [詳細]

#include <body_hold_ball.h>

rcsc::Body_HoldBallに対する継承グラフ

rcsc::BodyAction すべてのメンバ一覧

Public メソッド

 Body_HoldBall (const bool do_turn=false, const Vector2D &turn_target_point=Vector2D(0.0, 0.0), const Vector2D &kick_target_point=Vector2D::INVALIDATED)
 construct with all parameters
bool execute (PlayerAgent *agent)
 execute action

説明

stay there and keep the ball from opponent players.


コンストラクタとデストラクタ

rcsc::Body_HoldBall::Body_HoldBall ( const bool  do_turn = false,
const Vector2D turn_target_point = Vector2D( 0.0, 0.0 ),
const Vector2D kick_target_point = Vector2D::INVALIDATED 
) [inline]

construct with all parameters

引数:
do_turn if true, agent will try to face to the target point
turn_target_point face target point


関数

bool rcsc::Body_HoldBall::execute ( PlayerAgent agent  )  [virtual]

execute action

引数:
agent pointer to the agent itself
戻り値:
true if action is performed

rcsc::BodyActionを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:24 2008に生成されました。  doxygen 1.5.0