#include <intention_kick.h>
rcsc::IntentionKickに対する継承グラフ
Public メソッド | |
IntentionKick (const Vector2D &target_point, const double &first_speed, const int kick_step, const bool enforce_kick, const GameTime &start_time) | |
constructor | |
bool | finished (const PlayerAgent *agent) |
check the status. | |
bool | execute (PlayerAgent *agent) |
execute action |
rcsc::IntentionKick::IntentionKick | ( | const Vector2D & | target_point, | |
const double & | first_speed, | |||
const int | kick_step, | |||
const bool | enforce_kick, | |||
const GameTime & | start_time | |||
) |
constructor
target_point | kick target point | |
first_speed | first ball speed when last kick | |
kick_step | player try to finish to kick within this step | |
enforce_kick | if this is true, player must finish kicks within M_kick_step | |
start_time | action started time |
bool rcsc::IntentionKick::finished | ( | const PlayerAgent * | agent | ) | [virtual] |
check the status.
agent | pointer to the agent itself. |
rcsc::SoccerIntentionを実装しています。
bool rcsc::IntentionKick::execute | ( | PlayerAgent * | agent | ) | [virtual] |
execute action
agent | pointer to the agent itself |
rcsc::SoccerIntentionを実装しています。