QTfrontend/weaponItem.cpp
author unc0rr
Thu, 13 Dec 2007 14:15:56 +0000
changeset 649 26166c87dc75
parent 642 3178a83c7043
child 731 237ceeb5d422
permissions -rw-r--r--
- Use 2 bytes for timestamp in net protocol, thus decreasing average packet size from 6 to 4 - Inc protocol version number

#include "weaponItem.h"

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

WeaponItem::~WeaponItem()
{
}

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

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