downmove.cls

来自「this game is programmed by visual basic 」· CLS 代码 · 共 31 行

CLS
31
字号
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "downmove"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'模块下移处理
Public module_type As Integer
Public module_top_x As Integer
Public module_top_y As Integer
Public module_color_type As Integer
'描绘方块,并且传递方块类型,颜色类型,顶点坐标于私有变量
Public Sub down_move(picture As PictureBox)
Dim mds As New module_describe
mds.module_describe picture, module_top_x, module_top_y, module_type, module_color_type
End Sub
'外部接口给downmove模块传递变量
Public Sub give_value(x As Integer, y As Integer, type1 As Integer, color_type As Integer)
module_type = type1
module_top_x = x
module_top_y = y
module_color_type = color_type
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?