ReversiForm  1.0.0
ReversiForm
ReversiHistory.cs
Go to the documentation of this file.
1 
18 using System;
19 using System.Collections.Generic;
20 using System.Linq;
21 using System.Text;
22 
23 namespace ReversiForm
24 {
30  public class ReversiHistory
31  {
32  #region メンバ変数
33  private ReversiPoint _point;
34  private int _color;
35  #endregion
36 
37  #region プロパティ
38  public ReversiPoint point
39  {
40  get { return _point; }
41  set { _point = value; }
42  }
43  public int color
44  {
45  get { return _color; }
46  set { _color = value; }
47  }
48  #endregion
49 
58  public ReversiHistory()
59  {
60  this.point = new ReversiPoint();
61  this.reset();
62  }
63 
72  public void reset()
73  {
74  this.point.x = -1;
75  this.point.y = -1;
76  this.color = -1;
77  }
78 
88  {
89  return (ReversiHistory)MemberwiseClone();
90  }
91  }
92 }
リバーシ履歴クラス
ReversiHistory Clone()
コピー
ReversiHistory()
コンストラクタ
リバーシポイント
Definition: ReversiPoint.cs:30
void reset()
リセット
ReversiPoint _point
ポイント