ReversiForm
1.0.0
ReversiForm
Model
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
87
public
ReversiHistory
Clone
()
88
{
89
return
(
ReversiHistory
)MemberwiseClone();
90
}
91
}
92
}
ReversiForm.ReversiHistory
リバーシ履歴クラス
Definition:
ReversiHistory.cs:30
System
ReversiForm.ReversiHistory.Clone
ReversiHistory Clone()
コピー
Definition:
ReversiHistory.cs:87
ReversiForm.ReversiHistory.ReversiHistory
ReversiHistory()
コンストラクタ
Definition:
ReversiHistory.cs:58
ReversiForm.ReversiPoint
リバーシポイント
Definition:
ReversiPoint.cs:30
ReversiForm.ReversiHistory.reset
void reset()
リセット
Definition:
ReversiHistory.cs:72
ReversiForm.ReversiHistory._point
ReversiPoint _point
ポイント
Definition:
ReversiHistory.cs:33
ReversiForm.ReversiHistory._color
int _color
色
Definition:
ReversiHistory.cs:34
ReversiForm
Definition:
FormMain.cs:33
Generated on Sat Sep 15 2018 20:28:10 for ReversiForm by
1.8.13