⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 box.h

📁 俄罗斯方块源码
💻 H
字号:
/***************************************************************************/
/*                                                                         */
/*  Box.h                                                                  */
/*                                                                         */
/*    The rect object which indicates a ...                                */
/*                                       .                                 */
/*                                                                         */
/*  Copyright 2007 by                                                      */
/*                  Kan(EMail: k32459871@126.com.)                         */
/*  Data: 2007-5-1                                                         */
/*                                                                         */
/***************************************************************************/
#ifndef _BOX_H_
#define _BOX_H_

#include "def.h"
#include "Color.h"

class Box
{
public:
    Box(RGBVAL fillColor);
    Box(RGBVAL fillColor,AEESize& Size);

    /*Set The Draw Size*/
    void SetSize(AEESize& Size);

    /*Draw this at the point*/
    void Draw(AEEPoint& Point,IGraphics* pIGraphics) const;

    /*Set this block is filled or not*/
    void Set_Filled(boolean isFilled);
protected:

private:
    boolean _isFilled;
    AEESize _Size;
    RGBVAL _fillColor;
};

#endif

⌨️ 快捷键说明

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