クラス rcsc::YCoordinateMinusPlayerPredicate

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

#include <player_predicate.h>

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

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

Public メソッド

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

説明

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


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

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

construct with threshold value

引数:
threshold y-coordinate threshold value


関数

bool rcsc::YCoordinateMinusPlayerPredicate::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 left than equal threshold

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


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