#include <body_go_to_point.h>
rcsc::Body_GoToPointに対する継承グラフ
Public メソッド | |
Body_GoToPoint (const Vector2D &point, const double &dist_thr, const double &dash_power, const int cycle=100, const bool back_mode=false, const bool save_recovery=true, const double &dir_thr=12.0) | |
construct with all paramters | |
bool | execute (PlayerAgent *agent) |
execute action |
rcsc::Body_GoToPoint::Body_GoToPoint | ( | const Vector2D & | point, | |
const double & | dist_thr, | |||
const double & | dash_power, | |||
const int | cycle = 100 , |
|||
const bool | back_mode = false , |
|||
const bool | save_recovery = true , |
|||
const double & | dir_thr = 12.0 | |||
) | [inline] |
construct with all paramters
point | target point to be reached | |
dist_thr | distance threshold to the target point | |
dash_power | power parameter for dash command. should be positive value. | |
cycle | recommended reach cycle | |
back_mode | if this is true, agent should dash backward. | |
save_recovery | if this is true, agent must save recover parameter. | |
dir_thr | when intercept mode, specify this. |
bool rcsc::Body_GoToPoint::execute | ( | PlayerAgent * | agent | ) | [virtual] |
execute action
agent | pointer to the agent itself |
rcsc::BodyActionを実装しています。