Public Member Functions | |
TileMaps () | |
~TileMaps () | |
void | loadAll () |
void | unloadAll () |
TileMap * | get (Common::String name) |
Public Member Functions inherited from Common::HashMap< Common::String, TileMap *> | |
HashMap () | |
HashMap (const HM_t &map) | |
~HashMap () | |
HM_t & | operator= (const HM_t &map) |
bool | contains (const Common::String &key) const |
TileMap * & | operator[] (const Common::String &key) |
const TileMap * & | operator[] (const Common::String &key) const |
TileMap * & | getOrCreateVal (const Common::String &key) |
TileMap * & | getVal (const Common::String &key) |
const TileMap * & | getVal (const Common::String &key) const |
const TileMap * & | getValOrDefault (const Common::String &key) const |
const TileMap * & | getValOrDefault (const Common::String &key, const TileMap * &defaultVal) const |
bool | tryGetVal (const Common::String &key, TileMap * &out) const |
void | setVal (const Common::String &key, const TileMap * &val) |
void | clear (bool shrinkArray=0) |
void | erase (iterator entry) |
void | erase (const Common::String &key) |
size_type | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
iterator | find (const Common::String &key) |
const_iterator | find (const Common::String &key) const |
bool | empty () const |
Additional Inherited Members | |
Public Types inherited from Common::HashMap< Common::String, TileMap *> | |
typedef uint | size_type |
typedef IteratorImpl< Node > | iterator |
typedef IteratorImpl< const Node > | const_iterator |
Ultima::Ultima4::TileMaps::TileMaps | ( | ) |
Constructor
Ultima::Ultima4::TileMaps::~TileMaps | ( | ) |
Destructor
void Ultima::Ultima4::TileMaps::loadAll | ( | ) |
Load all tilemaps from the specified xml file
void Ultima::Ultima4::TileMaps::unloadAll | ( | ) |
Delete all tilemaps
TileMap* Ultima::Ultima4::TileMaps::get | ( | Common::String | name | ) |
Returns the Tile index map with the specified name