show.cs
来自「俄罗斯方块游戏」· CS 代码 · 共 29 行
CS
29 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace 俄罗斯方块
{
public abstract class Show
{
public bool[,] showArray; //屏幕数组
protected int width;
protected int height;
public void clearShow() //清空数组
{
int i, j;
for (i = 0; i < height; i++)
for (j = 0; j < width; j++)
{
this.showArray[i, j] = false;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?