クラス rcsc::Body_GoToPoint

run behavior which has target point. [詳細]

#include <body_go_to_point.h>

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

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

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

説明

run behavior which has target point.


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

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
戻り値:
true if action is performed

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


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:24 2008に生成されました。  doxygen 1.5.0