📄 inventoryslot.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : InventorySlot.h// Written by : elca// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __INVENTORY_SLOT_H__#define __INVENTORY_SLOT_H__#include "Item.h"#include "Assert.h"//////////////////////////////////////////////////////////////////////////////// class InventorySlot//////////////////////////////////////////////////////////////////////////////class InventorySlot {public: InventorySlot() throw() : m_pItem(NULL) {} ~InventorySlot() throw(Error);public: Item* getItem() throw() { return m_pItem; } void addItem(Item* pItem) throw(); void deleteItem() throw(Error);private: Item* m_pItem;};#endif // __INVENTORY_SLOT_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -