elstile.h

来自「3D俄罗斯方块源码.rar」· C头文件 代码 · 共 27 行

H
27 行
字号
#ifndef _ELSTILE_H
#define _ELSTILE_H
/********************************************************************
文件名: ELSTILE.h
Copyright (c)2004  红孩儿工作室
创建人  : 卞安
创建时间: 2004-5-18 12:33:30
版本: 1.0
类名: CELSTILE
说明:
	方块类:
********************************************************************/
#include <d3dx8.h>
#include <stdio.h>
//---------------------------------------------------------------
class CELSTILE
{	
	int m_style;//方块的类型 1~8
	int m_rotate;//转动类型 1~4

public:
	int m_struct[4][4];
	void Start(int _istyle);
    bool Rotate();
	int Getstyle();
};
#endif

⌨️ 快捷键说明

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