クラス rcsc::XCoordinateForwardPlayerPredicate

check if target player's x coordinate is greater(forwarder) than threshold value [詳細]

#include <player_predicate.h>

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

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

Public メソッド

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

説明

check if target player's x coordinate is greater(forwarder) than threshold value


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

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

construct with threshold value

引数:
threshold x-coordinate threshold value


関数

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

predicate function

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

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


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