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

📄 attach.h

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

#ifndef ATTACH_H
#define ATTACH_H

#include "baseobj.h"

class attachment
{
public:

            attachment(coordinate& offset);
void        setto(view& c);
void        draw();
void        attachto(baseobject *obj)      { m_attachedto = obj; }
void        setxoff(direction& d)          { xoff = d; }
void        setyoff(direction& d)          { yoff = d; }
void        setzoff(direction& d)          { zoff = d; }

private:

baseobject *m_attachedto;
coordinate  m_offset;
direction   xoff;
direction   yoff;
direction   zoff;

};


#endif

⌨️ 快捷键说明

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