Config.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Collections;
using System.Xml;
using System.IO;
using System.Reflection;
namespace Tetris
{
class Config
{
private Keys _downKey;//向下
private Keys _dropKey;//丢下
private Keys _moveLeftKey;//向左
private Keys _moveRightKey;//向右
private Keys _deasilRotateKey;//顺时针转
private Keys _contraRotateKey;//逆时针转
private int _coorWidth;//水平格子数
private int _coorHeight;//垂直格子数
private int _rectPix;//方块像素
private Color _backColor;//背景色
private InfoArr info = new InfoArr();//方块信息集合
#region 私有变量相应的属性
public Keys DownKey
{
get
{
return _downKey;
}
set
{
_downKey = value;
}
}
public Keys DropKey
{
get
{
return _dropKey;
}
set
{
_dropKey = value;
}
}
public Keys MoveLeftKey
{
get
{
return _moveLeftKey;
}
set
{
_moveLeftKey = value;
}
}
public Keys MoveRightKey
后面还有 254 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。