QTfrontend/weaponItem.cpp
author displacer
Mon, 10 Dec 2007 22:55:14 +0000
changeset 642 3178a83c7043
parent 624 e7673b036db5
child 731 237ceeb5d422
permissions -rw-r--r--
zero weapons count is allowed

#include "weaponItem.h"

WeaponItem::WeaponItem(const QImage& im, QWidget * parent) :
  ItemNum(im, parent, 0)
{
}

WeaponItem::~WeaponItem()
{
}

void WeaponItem::incItems()
{
  ++numItems;
}

void WeaponItem::decItems()
{
  --numItems;
}