OpenMW
|
Model that lists all usable powers, spells and enchanted items for an actor. More...
#include <spellmodel.hpp>
Public Types | |
typedef int | ModelIndex |
Public Member Functions | |
SpellModel (const MWWorld::Ptr &actor) | |
void | update () |
Spell | getItem (ModelIndex index) const |
throws for invalid index More... | |
size_t | getItemCount () const |
Private Attributes | |
MWWorld::Ptr | mActor |
std::vector< Spell > | mSpells |
Model that lists all usable powers, spells and enchanted items for an actor.
typedef int MWGui::SpellModel::ModelIndex |
MWGui::SpellModel::SpellModel | ( | const MWWorld::Ptr & | actor | ) |
Spell MWGui::SpellModel::getItem | ( | ModelIndex | index | ) | const |
throws for invalid index
size_t MWGui::SpellModel::getItemCount | ( | ) | const |
void MWGui::SpellModel::update | ( | ) |
|
private |
|
private |