クラス rcsc::TeammateOrSelfPlayerPredicate

check if target player is teammate (include self) or not [詳細]

#include <player_predicate.h>

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

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

Public メソッド

 TeammateOrSelfPlayerPredicate (const WorldModel &wm)
 construct with the WorldModel instance
bool operator() (const AbstractPlayerObject &p) const
 predicate function

説明

check if target player is teammate (include self) or not


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

rcsc::TeammateOrSelfPlayerPredicate::TeammateOrSelfPlayerPredicate ( const WorldModel wm  )  [inline, explicit]

construct with the WorldModel instance

引数:
wm const reference to the WorldModel instance


関数

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

predicate function

引数:
p const reference to the target player object
戻り値:
true if target player is teammate (include self)

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


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