#include <neck_turn_to_player_or_scan.h>
rcsc::Neck_TurnToPlayerOrScanに対する継承グラフ
Public メソッド | |
Neck_TurnToPlayerOrScan (const AbstractPlayerObject *target_player, const int count_thr=1) | |
constructor | |
bool | execute (PlayerAgent *agent) |
execute action | |
NeckAction * | clone () const |
create cloned object |
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 |
rcsc::NeckActionを実装しています。
NeckAction* rcsc::Neck_TurnToPlayerOrScan::clone | ( | ) | const [inline, virtual] |