624
|
1 |
#include "weaponItem.h"
|
|
2 |
|
|
3 |
WeaponItem::WeaponItem(const QImage& im, QWidget * parent) :
|
|
4 |
ItemNum(im, parent)
|
|
5 |
{
|
|
6 |
}
|
|
7 |
|
|
8 |
WeaponItem::~WeaponItem()
|
|
9 |
{
|
|
10 |
}
|
|
11 |
|
|
12 |
void WeaponItem::incItems()
|
|
13 |
{
|
|
14 |
++numItems;
|
|
15 |
}
|
|
16 |
|
|
17 |
void WeaponItem::decItems()
|
|
18 |
{
|
|
19 |
--numItems;
|
|
20 |
}
|
|
21 |
|