ScummVM API documentation
Asylum::Puzzle Class Referenceabstract
Inheritance diagram for Asylum::Puzzle:
Asylum::EventHandler Common::Serializable Asylum::PuzzleBoard Asylum::PuzzleClock Asylum::PuzzleFisherman Asylum::PuzzleHiveControl Asylum::PuzzleHiveMachine Asylum::PuzzleLock Asylum::PuzzleMorgueDoor Asylum::PuzzlePipes Asylum::PuzzleTicTacToe Asylum::PuzzleTimeMachine Asylum::PuzzleVCR Asylum::PuzzleWheel Asylum::PuzzleWritings

Public Member Functions

 Puzzle (AsylumEngine *engine)
 
bool handleEvent (const AsylumEvent &evt)
 
virtual void saveLoadWithSerializer (Common::Serializer &s)
 

Protected Member Functions

virtual bool init (const AsylumEvent &evt)=0
 
virtual bool update (const AsylumEvent &evt)
 
virtual void updateScreen ()
 
virtual void updateCursor ()
 
virtual bool activate (const AsylumEvent &evt)
 
virtual bool mouseLeftUp (const AsylumEvent &evt)
 
virtual bool mouseLeftDown (const AsylumEvent &evt)
 
virtual bool exitPuzzle ()=0
 
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

AsylumEngine_vm
 

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