weaphold.h
来自「一个三维打斗游戏」· C头文件 代码 · 共 25 行
H
25 行
// (C) Copyright 1996 by Anthony J. Carin. All Rights Reserved.
#ifndef WEAPHOLD_H
#define WEAPHOLD_H
#include <landscpe.h>
enum WeaponType
{
SWORD = 0,
KNIFE = 1,
SHIELD = 2
};
class weaponholder : public landscape
{
public:
weaponholder(WeaponType type);
short NumType() { return (short) m_hhtype; }
private:
WeaponType m_hhtype;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?