ManaPlus
|
#include <beingequipbackend.h>
Public Member Functions | |
BeingEquipBackend (Being *const being) | |
~BeingEquipBackend () | |
const Item * | getEquipment (const int index) const |
void | clear () |
void | setEquipment (const int index, const Item *const item) |
Public Member Functions inherited from Equipment::Backend | |
Backend () | |
virtual | ~Backend () |
Private Attributes | |
const Item * | mEquipment [EQUIPMENT_SIZE] |
Definition at line 33 of file beingequipbackend.h.
|
explicit |
Definition at line 34 of file beingequipbackend.cpp.
References CardsList::cards, BeingSlot::cardsId, CAST_S32, BeingSlot::colorId, Damaged_false, Equipm_true, EQUIPMENT_SIZE, Equipped_true, Favorite_false, Identified_true, inventoryHandler, CardsList::isEmpty(), MailMessageType::Item, maxCards, mEquipment, Being::mSlots, CompoundSprite::mSprites, Item::setCards(), BeingSlot::spriteId, and ItemType::Unknown.
BeingEquipBackend::~BeingEquipBackend | ( | ) |
Definition at line 70 of file beingequipbackend.cpp.
References delete2, EQUIPMENT_SIZE, and mEquipment.
|
virtual |
Implements Equipment::Backend.
Definition at line 76 of file beingequipbackend.cpp.
References delete2, EQUIPMENT_SIZE, and mEquipment.
|
virtual |
Implements Equipment::Backend.
Definition at line 88 of file beingequipbackend.cpp.
References EQUIPMENT_SIZE, and mEquipment.
void BeingEquipBackend::setEquipment | ( | const int | index, |
const Item *const | item | ||
) |
Definition at line 82 of file beingequipbackend.cpp.
References mEquipment.
|
private |
Definition at line 51 of file beingequipbackend.h.
Referenced by BeingEquipBackend(), clear(), getEquipment(), setEquipment(), and ~BeingEquipBackend().