m_queue.h
来自「基于WindowCE上对于windows mobile开发的一个俄罗斯方块程序」· C头文件 代码 · 共 27 行
H
27 行
#pragma once
#include "m_cell.h"
class m_Queue
{
public:
m_Queue(void);
public:
~m_Queue(void);
public:
void m_Queue::OnDraw(CDC * pDC,int Bottom_X,int Bottom_Y);
private:
m_Cell _Cell[QUEUELENTH];
public:
int GetColorIndex(int index);
void SetColorIndex(int index,int color);
void SetPosition(int index, short sX, short sY);
void SetRandomColorIndex();
void TurnAround();
//public:
// m_Queue& operator = (const m_Queue &lhs);
// m_Queue operator = (const m_Queue &);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?