クラス rcsc::Neck_TurnToPlayerOrScan

check the player or scan field with neck evenly. [詳細]

#include <neck_turn_to_player_or_scan.h>

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

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

Public メソッド

 Neck_TurnToPlayerOrScan (const AbstractPlayerObject *target_player, const int count_thr=1)
 constructor
bool execute (PlayerAgent *agent)
 execute action
NeckActionclone () const
 create cloned object

説明

check the player or scan field with neck evenly.


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

rcsc::Neck_TurnToPlayerOrScan::Neck_TurnToPlayerOrScan ( const AbstractPlayerObject target_player,
const int  count_thr = 1 
) [inline, explicit]

constructor

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


関数

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

execute action

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

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

NeckAction* rcsc::Neck_TurnToPlayerOrScan::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