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

📄 floor.h

📁 一个三维打斗游戏
💻 H
字号:
// (C) Copyright 1996 by Anthony J. Carin.  All Rights Reserved.
#ifndef FLOOR_H
#define FLOOR_H

#include "bmpsurf.h"

class floortype
{
public:
            floortype();
            floortype(CString& c);
           ~floortype();
void        settilesize(float s) { tilesize = s; }
void        setcolor(COLORREF c)   { m_surface->setcolor(c); }
void        draw(coordinate& coord);
void        settexture(CString &t);
void        cleartexture();

private:

surfs      *m_surface;
coordinate  m_a;
coordinate  m_b;
coordinate  m_c;
coordinate  m_d;
float       tilesize;
void        getentirearea(coordinate& coord);

};


#endif

⌨️ 快捷键说明

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