📄 cell.cs
字号:
using System;
namespace Game2DServer
{
/// <summary>
/// Cell 的摘要说明。
/// </summary>
public class Cell
{
public bool has_dot
{
get
{
return has_dot;
}
set
{
has_dot=value;
}
}
public int color
{
get
{
return color;
}
set
{
color=value;
}
}
public Cell()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
private bool checkDot(int color)
{
if(this.has_dot) return true;
else return false;
}
public void setDot(int color)
{
this.has_dot=true;
this.color=color;
}
private void unsetDot(int color)
{
this.has_dot=false;
this.color=color;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -