クラス rcsc::Neck_TurnToBallAndPlayer

if possible, turn neck to ball and player [詳細]

#include <neck_turn_to_ball_and_player.h>

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

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

Public メソッド

 Neck_TurnToBallAndPlayer (const AbstractPlayerObject *target_player, const int count_thr=0)
 accessible from global.
bool execute (PlayerAgent *agent)
 execute action
NeckActionclone () const
 create cloned object

説明

if possible, turn neck to ball and player


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

rcsc::Neck_TurnToBallAndPlayer::Neck_TurnToBallAndPlayer ( const AbstractPlayerObject target_player,
const int  count_thr = 0 
) [inline, explicit]

accessible from global.

引数:
target_player pointer to the target player
count_thr if player's posCount is smaller than this, agent will scan field.


関数

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

execute action

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

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

NeckAction* rcsc::Neck_TurnToBallAndPlayer::clone (  )  const [inline, virtual]

create cloned object

戻り値:
pointer to the cloned object

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


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