文件名称:russian-eara-
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:10.21kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义基本的7种方块(含四种状态)二维数组变量.
Terial[7][4]. 用数组下标索引方块的种类和状态.
定义方块运行的区域(二维数组变量) 如(高23,宽10)
用它存储方块下落后的状态.
左移和右移判断是方块是否左右溢出、是否会叠在运行区的格子上。
同样改变状态(变形)也得判断是否会出现左右溢出、是否会叠在运行区格子上。
下落后,对运行区的空格子进行赋值。
-7 define the basic two-dimensional array variables (including four states) box. Terial [7] [4]. Using array subscr ipt index box types and status. Define the box running area (two-dimensional array of variables), such as (high 23 wide and 10) use it storage box under backward shift left and right judgment the box around overflow, whether to fold on the area of the grid in the run. The same change state (deformation) have to determine whether there will be around overflow, whether to fold in the the run area plaid on. Under the backward run spaces sub assignment.
Terial[7][4]. 用数组下标索引方块的种类和状态.
定义方块运行的区域(二维数组变量) 如(高23,宽10)
用它存储方块下落后的状态.
左移和右移判断是方块是否左右溢出、是否会叠在运行区的格子上。
同样改变状态(变形)也得判断是否会出现左右溢出、是否会叠在运行区格子上。
下落后,对运行区的空格子进行赋值。
-7 define the basic two-dimensional array variables (including four states) box. Terial [7] [4]. Using array subscr ipt index box types and status. Define the box running area (two-dimensional array of variables), such as (high 23 wide and 10) use it storage box under backward shift left and right judgment the box around overflow, whether to fold on the area of the grid in the run. The same change state (deformation) have to determine whether there will be around overflow, whether to fold in the the run area plaid on. Under the backward run spaces sub assignment.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
小游戏源代码.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.