クラス rcsc::Body_GoToPointDodge

sub behavior for Body_GoToPoint. [詳細]

#include <body_go_to_point_dodge.h>

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

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

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

説明

sub behavior for Body_GoToPoint.


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

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

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
戻り値:
true if agent should perform dodge action


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