クラス rcsc::IntentionKick

queued kick behavior. [詳細]

#include <intention_kick.h>

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

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

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

説明

queued kick behavior.


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

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

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

bool rcsc::IntentionKick::execute ( PlayerAgent agent  )  [virtual]

execute action

引数:
agent pointer to the agent itself
戻り値:
true if action is performed

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


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