ScummVM API documentation
Ultima::Ultima4::TileMaps Class Reference
Inheritance diagram for Ultima::Ultima4::TileMaps:
Common::HashMap< Common::String, TileMap *>

Public Member Functions

 TileMaps ()
 
 ~TileMaps ()
 
void loadAll ()
 
void unloadAll ()
 
TileMapget (Common::String name)
 
- Public Member Functions inherited from Common::HashMap< Common::String, TileMap *>
 HashMap ()
 
 HashMap (const HM_t &map)
 
 ~HashMap ()
 
HM_toperator= (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< Nodeiterator
 
typedef IteratorImpl< const Nodeconst_iterator
 

Constructor & Destructor Documentation

◆ TileMaps()

Ultima::Ultima4::TileMaps::TileMaps ( )

Constructor

◆ ~TileMaps()

Ultima::Ultima4::TileMaps::~TileMaps ( )

Destructor

Member Function Documentation

◆ loadAll()

void Ultima::Ultima4::TileMaps::loadAll ( )

Load all tilemaps from the specified xml file

◆ unloadAll()

void Ultima::Ultima4::TileMaps::unloadAll ( )

Delete all tilemaps

◆ get()

TileMap* Ultima::Ultima4::TileMaps::get ( Common::String  name)

Returns the Tile index map with the specified name


The documentation for this class was generated from the following file: