ScummVM API documentation
Ultima::Ultima4::Moongates Class Reference
Inheritance diagram for Ultima::Ultima4::Moongates:
Common::HashMap< int, Coords >

Public Member Functions

 Moongates ()
 
 ~Moongates ()
 
void add (int phase, const Coords &coords)
 
const CoordsgetGateCoordsForPhase (int phase)
 
bool findActiveGateAt (int trammel, int felucca, const Coords &src, Coords &dest)
 
bool isEntryToShrineOfSpirituality (int trammel, int felucca)
 
- Public Member Functions inherited from Common::HashMap< int, Coords >
 HashMap ()
 
 HashMap (const HM_t &map)
 
 ~HashMap ()
 
HM_toperator= (const HM_t &map)
 
bool contains (const int &key) const
 
Coords & operator[] (const int &key)
 
const Coords & operator[] (const int &key) const
 
Coords & getOrCreateVal (const int &key)
 
Coords & getVal (const int &key)
 
const Coords & getVal (const int &key) const
 
const Coords & getValOrDefault (const int &key) const
 
const Coords & getValOrDefault (const int &key, const Coords &defaultVal) const
 
bool tryGetVal (const int &key, Coords &out) const
 
void setVal (const int &key, const Coords &val)
 
void clear (bool shrinkArray=0)
 
void erase (iterator entry)
 
void erase (const int &key)
 
size_type size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator find (const int &key)
 
const_iterator find (const int &key) const
 
bool empty () const
 

Additional Inherited Members

- Public Types inherited from Common::HashMap< int, Coords >
typedef uint size_type
 
typedef IteratorImpl< Nodeiterator
 
typedef IteratorImpl< const Nodeconst_iterator
 

Constructor & Destructor Documentation

◆ Moongates()

Ultima::Ultima4::Moongates::Moongates ( )

Constructor

◆ ~Moongates()

Ultima::Ultima4::Moongates::~Moongates ( )

Destructor


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