class InventoryItem


Contains pure virtuals
Definition#include <invitem.h>
Inherited byShield, Armour, Potion, HealingPotion, Treasure, Weapon, MagicWeapon
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members

void setFlag (char arg)
[protected]

Sets all flags contained in arg

void clearFlag (char arg)
[protected]

Clears all flags contained in arg

bool checkFlag (char arg)
[protected]

If all flags in arg are set returns true otherwise returns false

bool isUseless (void)

Returns true if you cannot equip or use the item

bool isEquippable (void)

Returns true if you can equip the item

bool isUseable (void)

Returns true if you can use the item

bool isBreakable (void)

Returns true if the item can break

int getWeight (void)

Returns the weight of the item

char * getName (void)

Returns the name of the item

InventoryType getType ()
[pure virtual]

Returns the type of item as expressed in flag constants


Generated by: droberge@magebook.localdomain on Mon Jul 3 13:20:08 200.