ScummVM API documentation
Nancy::State::Map Class Referenceabstract
Inheritance diagram for Nancy::State::Map:
Nancy::State::State Common::Singleton< Map > Common::NonCopyable Nancy::State::Nancy1Map Nancy::State::TVDMap

Classes

class  MapViewport
 

Public Types

enum  State { kInit, kLoad, kRun, kExit }
 

Public Member Functions

void process () override
 
void onStateEnter (const NancyState::NancyState prevState) override
 
bool onStateExit (const NancyState::NancyState nextState) override
 
const SoundDescriptiongetSound ()
 

Protected Member Functions

virtual void init ()=0
 
virtual void load ()
 
virtual void run ()=0
 
virtual void registerGraphics ()
 
void setLabel (int labelID)
 

Protected Attributes

const MAP_mapData
 
MapViewport _viewport
 
RenderObject _label
 
RenderObject _closedLabel
 
RenderObject _background
 
State _state
 
uint16 _mapID
 
int16 _pickedLocationID
 
Common::Array< bool > _activeLocations
 
Common::Array< Common::Rect_locationLabelDests
 

Additional Inherited Members

- Static Public Member Functions inherited from Common::Singleton< Map >
static bool hasInstance ()
 
static Map & instance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< Map >
typedef Map SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< Map >
static Map * _singleton
 

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