クラス rcsc::OpponentPlayerPredicate

check if target player is opponent (not include unknown player) or not [詳細]

#include <player_predicate.h>

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

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

Public メソッド

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

説明

check if target player is opponent (not include unknown player) or not

XXX: OpponentTeamPlayerPredicate?


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

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

construct with the WorldModel instance

引数:
wm const reference to the WorldModel instance


関数

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

predicate function

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

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


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