クラス rcsc::YCoordinatePlusPlayerPredicate

check if target player's y coordinate is more right than threshold value [詳細]

#include <player_predicate.h>

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

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

Public メソッド

 YCoordinatePlusPlayerPredicate (const double &threshold)
 construct with threshold value
bool operator() (const AbstractPlayerObject &p) const
 predicate function

説明

check if target player's y coordinate is more right than threshold value


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

rcsc::YCoordinatePlusPlayerPredicate::YCoordinatePlusPlayerPredicate ( const double &  threshold  )  [inline, explicit]

construct with threshold value

引数:
threshold y-coordinate threshold value


関数

bool rcsc::YCoordinatePlusPlayerPredicate::operator() ( const AbstractPlayerObject p  )  const [inline, virtual]

predicate function

引数:
p const reference to the target player object
戻り値:
true if target player's pos().y is more right than equal threshold

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


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