#include <character.h>
Public Member Functions | |
Itemized () | |
virtual | ~Itemized () |
void | synchronize (Common::Serializer &s) |
virtual void | changeQuantity (int delta) |
void | incrQuantity () |
bool | empty () const |
bool | decrQuantity () |
Public Attributes | |
uint | _quantity |
Base class for class types that have a quantity
|
inline |
Constructor
|
inlinevirtual |
Destructor
|
inline |
Synchronize data
|
inlinevirtual |
Change the quantity by a given amount
Reimplemented in Ultima::Ultima1::Armour, Ultima::Ultima1::Weapon, and Ultima::Ultima1::Spells::Spell.
|
inline |
Increase the quantity by 1
|
inline |
Returns if the itemized is empty
|
inline |
Decrease the quantity by 1