ScummVM API documentation
MADS::Hotspots Class Reference
Inheritance diagram for MADS::Hotspots:
Common::Array< Hotspot >

Public Member Functions

 Hotspots (MADSEngine *vm)
 
void activate (int vocabId, bool active)
 
void activateAtPos (int vocabId, bool active, Common::Point pos)
 
- Public Member Functions inherited from Common::Array< Hotspot >
 Array (size_type count)
 
 Array (size_type count, const Hotspot &value)
 
 Array (const Array< Hotspot > &array)
 
 Array (Array< Hotspot > &&old)
 
 Array (std::initializer_list< Hotspot > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const Hotspot &element)
 
void push_back (Hotspot &&element)
 
void push_back (const Array< Hotspot > &array)
 
void pop_back ()
 
const Hotspot * data () const
 
Hotspot * data ()
 
Hotspot & front ()
 
const Hotspot & front () const
 
Hotspot & back ()
 
const Hotspot & back () const
 
void insert_at (size_type idx, const Hotspot &element)
 
void insert_at (size_type idx, const Array< Hotspot > &array)
 
void insert (iterator pos, const Hotspot &element)
 
Hotspot remove_at (size_type idx)
 
Hotspot & operator[] (size_type idx)
 
const Hotspot & operator[] (size_type idx) const
 
Array< Hotspot > & operator= (const Array< Hotspot > &array)
 
Arrayoperator= (Array< Hotspot > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< Hotspot > &other) const
 
bool operator!= (const Array< Hotspot > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const Hotspot value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Common::Array< Hotspot >
typedef Hotspot * iterator
 
typedef const Hotspot * const_iterator
 
typedef Hotspot value_type
 
typedef uint size_type
 
- Protected Member Functions inherited from Common::Array< Hotspot >
void allocCapacity (size_type capacity)
 
void freeStorage (Hotspot *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< Hotspot >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< Hotspot >
size_type _capacity
 
size_type _size
 
Hotspot * _storage
 

Member Function Documentation

◆ activate()

void MADS::Hotspots::activate ( int  vocabId,
bool  active 
)

Sets the active state of a given hotspot

◆ activateAtPos()

void MADS::Hotspots::activateAtPos ( int  vocabId,
bool  active,
Common::Point  pos 
)

Sets the active state of a given hotspot if it includes a given position


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