ScummVM API documentation
Asylum::PuzzleBoard Class Reference
Inheritance diagram for Asylum::PuzzleBoard:
Asylum::Puzzle Asylum::EventHandler Common::Serializable Asylum::PuzzleBoardKeyHidesTo Asylum::PuzzleBoardSalvation Asylum::PuzzleBoardYouth

Classes

struct  CharMap
 
struct  PuzzleData
 
struct  SoundResource
 

Public Member Functions

 PuzzleBoard (AsylumEngine *engine, const PuzzleData *data)
 
void reset ()
 
- Public Member Functions inherited from Asylum::Puzzle
 Puzzle (AsylumEngine *engine)
 
bool handleEvent (const AsylumEvent &evt)
 
virtual void saveLoadWithSerializer (Common::Serializer &s)
 

Protected Member Functions

void updateScreen ()
 
int32 findRect ()
 
bool stopSound ()
 
void checkSlots ()
 
bool init (const AsylumEvent &evt)
 
bool activate (const AsylumEvent &evt)
 
bool exitPuzzle ()
 
- Protected Member Functions inherited from Asylum::Puzzle
virtual bool update (const AsylumEvent &evt)
 
virtual bool mouseLeftUp (const AsylumEvent &evt)
 
virtual bool mouseLeftDown (const AsylumEvent &evt)
 
bool hitTest (const int16(*polygonPoint)[2], const Common::Point &point, uint32 index) const
 
bool hitTest (const int16(*polygonPoint)[2], const Common::Point &point) const
 

Protected Attributes

PuzzleData _data
 
bool _solved
 
Common::String _text
 
bool _charUsed [20]
 
char _solvedText [28]
 
uint32 _position
 
int32 _rectIndex
 
int32 _selectedSlot
 
ResourceId _soundResourceId
 
- Protected Attributes inherited from Asylum::Puzzle
AsylumEngine_vm
 

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