22#ifndef ASYLUM_PUZZLES_PUZZLE_H
23#define ASYLUM_PUZZLES_PUZZLE_H
25#include "common/rect.h"
26#include "common/serializer.h"
28#include "asylum/eventhandler.h"
29#include "asylum/shared.h"
39struct GraphicQueueItem;
59 virtual void updateScreen() {};
60 virtual void updateCursor() {};
61 virtual bool activate(
const AsylumEvent &evt) {
return true; }
62 virtual bool mouseLeftUp(
const AsylumEvent &evt) {
return true; }
63 virtual bool mouseLeftDown(
const AsylumEvent &evt) {
return true; }
65 virtual bool exitPuzzle() = 0;
70 bool hitTest(
const int16 (*polygonPoint)[2],
const Common::Point &point, uint32 index)
const;
71 bool hitTest(
const int16 (*polygonPoint)[2],
const Common::Point &point)
const;
Definition: eventhandler.h:61
Definition: serializer.h:352
Definition: serializer.h:80
Definition: eventhandler.h:43
Definition: atari-cursor.h:35
Definition: atari-screen.h:58