25 #ifndef PEGASUS_ITEMS_ITEMDRAGGER_H 26 #define PEGASUS_ITEMS_ITEMDRAGGER_H 28 #include "pegasus/elements.h" 29 #include "pegasus/input.h" 43 void setDragSprite(
Sprite *);
44 Sprite *getDragSprite() {
return _draggingSprite; }
49 void startTracking(
const Input &)
override;
50 void continueTracking(
const Input&)
override;
52 Hotspot *getLastHotspot()
const {
return _lastHotspot; }
55 virtual void enterHotspot(
Hotspot *) {}
56 virtual void exitHotspot(
Hotspot *) {}
77 void setHighlightBounds();
78 void startTracking(
const Input &)
override;
79 void stopTracking(
const Input &)
override;
80 bool stopTrackingInput(
const Input &)
override;
83 void enterHotspot(
Hotspot *)
override;
84 void exitHotspot(
Hotspot *)
override;
Definition: elements.h:168
Definition: itemdragger.h:72
Definition: elements.h:90
Definition: itemdragger.h:38
Definition: ai_action.h:33