QTfrontend/weaponItem.cpp
changeset 624 e7673b036db5
child 642 3178a83c7043
equal deleted inserted replaced
623:ca1c1bd15915 624:e7673b036db5
       
     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