#include <body_go_to_point_dodge.h>
rcsc::Body_GoToPointDodgeに対する継承グラフ
Public メソッド | |
Body_GoToPointDodge (const Vector2D &point, const double &dash_power) | |
construct with all parameters | |
bool | execute (PlayerAgent *agent) |
execute action | |
Static Public メソッド | |
static bool | get_dodge_point (const PlayerAgent *agent, const Vector2D &target, Vector2D *sol) |
calculate new sub target point |
rcsc::Body_GoToPointDodge::Body_GoToPointDodge | ( | const Vector2D & | point, | |
const double & | dash_power | |||
) | [inline] |
construct with all parameters
point | target point to be reached | |
dash_power | parameter for dash command |
bool rcsc::Body_GoToPointDodge::execute | ( | PlayerAgent * | agent | ) | [virtual] |
execute action
agent | pointer to the agent itself |
rcsc::BodyActionを実装しています。
bool rcsc::Body_GoToPointDodge::get_dodge_point | ( | const PlayerAgent * | agent, | |
const Vector2D & | target, | |||
Vector2D * | sol | |||
) | [static] |
calculate new sub target point
agent | const pointer to agent itself | |
target | original target point | |
sol | new sub target is stored to this |