33 #include "Core-Level-JR.h"
59 ASSERT(M_FALSE,
"Not implemented");
62 void rpgItem::load(
class laPropertyList* pElement)
64 ASSERT(pElement,
"Nil TS element.");
65 ASSERT(pElement->getParent(),
"TS parent must be defined for rpgItem.");
69 strcpy(strName, pElement->getParent()->name());
71 strcpy(strClass, pElement->getText(
"item-class"));
72 nUpgradeLevel = pElement->getInt(
"upgrade-level");
77 void rpgItem::createIcon()
79 pIcon =
new uiIcon3D(
new uiRPGItemDescriptor(
this) );
GUI icon object that can siplay 3D models as icons.