initial commit
[COMP345---Clone.git] / Equipment.h
blob941ca4da782f40fa05b81454309774540790969c
1 //!@file Equipment.h
2 //! @brief Declaration of equipment
3 //!
4 //! Equipment is used as an interface to distinguish items that are equipment
5 //! A common attribute that items have is level and it is made accessible with this class
6 #pragma once
7 #include "Item.h"
8 //! Equipment is used as an interface to distinguish items that are equipment
9 class Equipment :
10 public Item
12 public:
13 Equipment();
14 ~Equipment();
15 virtual bool validateEquipment() { return false; };
16 virtual void levelUpEquipment(int e_level) {};
17 void setLevel(int e_level) { level = e_level; };
18 int getLevel() { return level; }