Libs/ICell.cs
(完整代码) 984Busing System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace VS2048
{
public interface ICell
{
int Width { get; set; }
int Height { get; set; }
int Left { get; set; }
int Top { get; set; }
int ParentWidth { get; set; }
bool CurrentMerged { get; set; }
string DisplayNum { get; set; }
Image BackImage { get; set; }
Font TextFont { get; set; }
Color TextColor { get; set; }
Color BackColor { get; set; }
CellCoordinate Coordinate { get; set; }
CellShape Shape { get; set; }
void Refresh();
void Render(Graphics g);
}
public struct CellCoordinate
{
public int RowIndex;
public int ColIndex;
public CellCoordinate(int rowidx, int colidx)
{
RowIndex = rowidx;
ColIndex = colidx;
}
}
public enum CellShape { Ellipse, Rectangle }
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
