#include <sprites.h>
Public Member Functions | |
| Sprites (TreeItem *parent) | |
| ~Sprites () override | |
| Shared::Gfx::Sprite & | operator[] (uint idx) override |
| void | load (bool isOverworld) |
Public Member Functions inherited from Ultima::Shared::Gfx::Sprites | |
| Point | getSpriteSize () const |
| size_t | size () const |
| bool | empty () const |
Public Member Functions inherited from Ultima::Shared::TreeItem | |
| virtual const Common::String | getName () const |
| virtual bool | isEquals (const Common::String &name, int maxLen=0) const |
| virtual int | compareTo (const Common::String &name, int maxLen=0) const |
| virtual void | viewChange () |
| TreeItem * | getParent () const |
| Game * | getGame () |
| const Game * | getGame () const |
| Gfx::VisualItem * | getView () |
| TreeItem * | getNextSibling () const |
| TreeItem * | getPriorSibling () const |
| TreeItem * | getLastSibling () |
| TreeItem * | getFirstChild () const |
| TreeItem * | getLastChild () const |
| TreeItem * | scan (TreeItem *item) const |
| TreeItem * | findChildInstanceOf (const ClassDef &classDef) const |
| TreeItem * | findNextInstanceOf (const ClassDef &classDef, TreeItem *startItem) const |
| void | addUnder (TreeItem *newParent) |
| void | addChild (TreeItem *child) |
| void | setParent (TreeItem *newParent) |
| void | addSibling (TreeItem *item) |
| void | moveUnder (TreeItem *newParent) |
| void | destroyAll () |
| int | destroyChildren () |
| void | detach () |
| void | attach (TreeItem *item) |
| NamedItem * | findByName (const Common::String &name) |
Public Member Functions inherited from Ultima::Shared::BaseObject | |
| virtual ::Ultima::Shared::ClassDef | getType () const |
| bool | isInstanceOf (const ClassDef &classDef) const |
Public Attributes | |
| CLASSDEF | |
Public Attributes inherited from Ultima::Shared::TreeItem | |
| CLASSDEF | |
Additional Inherited Members | |
Static Public Member Functions inherited from Ultima::Shared::BaseObject | |
| ::Ultima::Shared::ClassDef | type () |
Protected Member Functions inherited from Ultima::Shared::Gfx::Sprites | |
| void | load (const Common::Path &name, uint bpp, uint16 w=16, uint16 h=16) |
Protected Attributes inherited from Ultima::Shared::Gfx::Sprites | |
| Common::Array< Sprite > | _data |
| Point | _spriteSize |
Displays the total hits, food, experience, and coins you have
|
inline |
Constructor
|
inlineoverridevirtual |
Destructor
Reimplemented from Ultima::Shared::Gfx::Sprites.
|
overridevirtual |
Return a specific sprite
Reimplemented from Ultima::Shared::Gfx::Sprites.
| void Ultima::Ultima1::U1Gfx::Sprites::load | ( | bool | isOverworld | ) |
Loads the Ultima 1 sprites