ReversiForm
1.0.0
ReversiForm
|
リバーシプレイクラス More...
Public Member Functions | |
delegate void | ViewMsgDlg (string title, string msg) |
delegate void | DrawSingle (int y, int x, int sts, int bk, string text) |
delegate void | CurColMsg (string text) |
delegate void | CurStsMsg (string text) |
ReversiPlay () | |
コンストラクタ More... | |
ReversiPlay | Clone () |
コピー More... | |
void | reversiPlay (int y, int x) |
リバーシプレイ More... | |
void | reversiPlaySub (int cpuEna, int tmpCol) |
リバーシプレイサブ More... | |
void | reversiPlayEnd () |
リバーシプレイ終了 More... | |
void | reversiPlayPass (int color) |
リバーシプレイパス More... | |
int | reversiPlayCpu (int color, int cpuEna) |
リバーシプレイコンピューター More... | |
void | drawUpdate (int assist) |
マス描画更新 More... | |
void | drawUpdateForcibly (int assist) |
マス描画強制更新 More... | |
void | reset () |
リセット処理 More... | |
int | gameEndAnimExec () |
ゲーム終了アニメーション More... | |
void | sendDrawMsg (int y, int x) |
描画メッセージ送信 More... | |
void | sendDrawInfoMsg (int y, int x) |
情報描画メッセージ送信 More... | |
Properties | |
MyReversi | mReversi [get, set] |
ReversiSetting | mSetting [get, set] |
int | mCurColor [get, set] |
ReversiPoint [] | mCpu [get, set] |
ReversiPoint [] | mEdge [get, set] |
int | mPassEnaB [get, set] |
int | mPassEnaW [get, set] |
int | mGameEndSts [get, set] |
int | mPlayLock [get, set] |
ViewMsgDlg | viewMsgDlg [get, set] |
DrawSingle | drawSingle [get, set] |
CurColMsg | curColMsg [get, set] |
CurStsMsg | curStsMsg [get, set] |
Private Member Functions | |
void | execMessage (int what, Object obj) |
メッセージ More... | |
void | ViewMsgDlgLocal (string title, string msg) |
メッセージダイアログ More... | |
void | DrawSingleLocal (int y, int x, int sts, int bk, string text) |
1マス描画 More... | |
void | CurColMsgLocal (string text) |
現在の色メッセージ More... | |
void | CurStsMsgLocal (string text) |
現在のステータスメッセージ More... | |
Private Attributes | |
MyReversi | _mReversi |
リバーシクラス | |
ReversiSetting | _mSetting |
リバーシ設定クラス | |
int | _mCurColor = 0 |
現在の色 | |
ReversiPoint [] | _mCpu |
CPU用ワーク | |
ReversiPoint [] | _mEdge |
CPU用角マスワーク | |
int | _mPassEnaB = 0 |
黒のパス有効フラグ | |
int | _mPassEnaW = 0 |
白のパス有効フラグ | |
int | _mGameEndSts = 0 |
ゲーム終了ステータス | |
int | _mPlayLock = 0 |
プレイロック | |
ViewMsgDlg | _viewMsgDlg = null |
メッセージコールバック | |
DrawSingle | _drawSingle = null |
描画コールバック | |
CurColMsg | _curColMsg = null |
現在の色メッセージコールバック | |
CurStsMsg | _curStsMsg = null |
現在のステータスメッセージコールバック | |
System.Random | r = new System.Random() |
乱数 | |
リバーシプレイクラス
Definition at line 30 of file ReversiPlay.cs.
ReversiForm.ReversiPlay.ReversiPlay | ( | ) |
ReversiPlay ReversiForm.ReversiPlay.Clone | ( | ) |
|
private |
現在の色メッセージ
[in] | string | text テキスト |
Definition at line 962 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.execMessage().
|
private |
現在のステータスメッセージ
[in] | string | text テキスト |
Definition at line 976 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.execMessage().
|
private |
1マス描画
[in] | int | y Y座標 |
[in] | int | x X座標 |
[in] | int | sts ステータス |
[in] | int | bk 背景 |
[in] | string | text テキスト |
Definition at line 948 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.execMessage().
void ReversiForm.ReversiPlay.drawUpdate | ( | int | assist | ) |
マス描画更新
[in] | int | assist アシスト設定 |
Definition at line 620 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlayCpu().
void ReversiForm.ReversiPlay.drawUpdateForcibly | ( | int | assist | ) |
マス描画強制更新
[in] | int | assist アシスト設定 |
Definition at line 653 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reset(), and ReversiForm.Reversi.Reversi_Resize().
|
private |
メッセージ
[in] | int | what |
[in] | var | obj |
Definition at line 835 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.drawUpdate(), ReversiForm.ReversiPlay.drawUpdateForcibly(), ReversiForm.ReversiPlay.gameEndAnimExec(), ReversiForm.ReversiPlay.reset(), ReversiForm.ReversiPlay.reversiPlay(), ReversiForm.ReversiPlay.reversiPlayCpu(), ReversiForm.ReversiPlay.reversiPlayEnd(), ReversiForm.ReversiPlay.sendDrawInfoMsg(), and ReversiForm.ReversiPlay.sendDrawMsg().
int ReversiForm.ReversiPlay.gameEndAnimExec | ( | ) |
ゲーム終了アニメーション
Definition at line 728 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlayEnd().
void ReversiForm.ReversiPlay.reset | ( | ) |
リセット処理
Definition at line 678 of file ReversiPlay.cs.
Referenced by ReversiForm.Reversi.button1_Click(), and ReversiForm.Reversi.button2_Click().
void ReversiForm.ReversiPlay.reversiPlay | ( | int | y, |
int | x | ||
) |
リバーシプレイ
[in] | int | y Y座標 |
[in] | int | x X座標 |
Definition at line 167 of file ReversiPlay.cs.
Referenced by ReversiForm.Reversi.pictureBox_Click().
int ReversiForm.ReversiPlay.reversiPlayCpu | ( | int | color, |
int | cpuEna | ||
) |
リバーシプレイコンピューター
[in] | int | color CPU色 |
[in] | int | cpuEna CPU有効フラグ |
Definition at line 361 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlaySub().
void ReversiForm.ReversiPlay.reversiPlayEnd | ( | ) |
リバーシプレイ終了
Definition at line 291 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlaySub().
void ReversiForm.ReversiPlay.reversiPlayPass | ( | int | color | ) |
リバーシプレイパス
[in] | int | color パス色 |
Definition at line 339 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlaySub().
void ReversiForm.ReversiPlay.reversiPlaySub | ( | int | cpuEna, |
int | tmpCol | ||
) |
リバーシプレイサブ
[in] | int | cpuEna |
[in] | int | tmpCol |
Definition at line 261 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay().
void ReversiForm.ReversiPlay.sendDrawInfoMsg | ( | int | y, |
int | x | ||
) |
情報描画メッセージ送信
[in] | int | y Y座標 |
[in] | int | x X座標 |
Definition at line 816 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.drawUpdate().
void ReversiForm.ReversiPlay.sendDrawMsg | ( | int | y, |
int | x | ||
) |
描画メッセージ送信
[in] | int | y Y座標 |
[in] | int | x X座標 |
Definition at line 797 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.drawUpdate(), ReversiForm.ReversiPlay.gameEndAnimExec(), ReversiForm.ReversiPlay.reversiPlay(), and ReversiForm.ReversiPlay.reversiPlayCpu().
|
private |
メッセージダイアログ
[in] | string | title タイトル |
[in] | string | msg メッセージ |
Definition at line 930 of file ReversiPlay.cs.
Referenced by ReversiForm.ReversiPlay.reversiPlay(), ReversiForm.ReversiPlay.reversiPlayEnd(), and ReversiForm.ReversiPlay.reversiPlayPass().