Public メソッド | Private 変数 | Static Private 変数

クラス osl::progress::PtypeProgressTable

ゲームの進行度を駒が自陣からどの程度前に進んでいるかの和で表現 [詳細]

#include <ptypeProgress.h>

osl::progress::PtypeProgressTableのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

void init ()
 ~PtypeProgressTable ()
int progress (PtypeO ptypeo, Square pos) const

Private 変数

CArray< int, PTYPE_SIZEptype2Val
CArray2d< int, PTYPEO_SIZE,
Square::SIZE > 
pos2Val

Static Private 変数

static const CArray< int, 10 > yVals
 y 座標に対応した進行度の係数、最初は0 (使用しない)

説明

ゲームの進行度を駒が自陣からどの程度前に進んでいるかの和で表現

ptypeProgress.h14 行で定義されています。


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

osl::progress::PtypeProgressTable::~PtypeProgressTable (  ) 

ptypeProgress.cc146 行で定義されています。


関数

void osl::progress::PtypeProgressTable::init (  ) 
int osl::progress::PtypeProgressTable::progress ( PtypeO  ptypeo,
Square  pos 
) const [inline]

変数

CArray2d<int,PTYPEO_SIZE,Square::SIZE> osl::progress::PtypeProgressTable::pos2Val [private]

ptypeProgress.h18 行で定義されています。

参照元 init(), と progress().

ptypeProgress.h17 行で定義されています。

参照元 init().

const osl::CArray< int, 10 > osl::progress::PtypeProgressTable::yVals [static, private]
初期値:
{{   
  0,4,4,4,3,2,1,0,0,0
}}

y 座標に対応した進行度の係数、最初は0 (使用しない)

ptypeProgress.h19 行で定義されています。

参照元 init().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義