クラス rcsc::TeammatePlayerPredicate

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

#include <player_predicate.h>

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

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

Public メソッド

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

説明

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


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

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

construct with the WorldModel instance

引数:
wm const reference to the WorldModel instance


関数

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

predicate function

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

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


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