X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Faction.h;h=f456d8f3925833116c7a7e6e47b9b7baea47d66b;hb=84afe881653a02a16b19d4da37435b8701b1a826;hp=96e8e87c9ccb5bad1390aaea4ee77ae6178a736d;hpb=64482766268cddae393da1277987de31e69ffdd9;p=architektonas diff --git a/src/action.h b/src/action.h index 96e8e87..f456d8f 100644 --- a/src/action.h +++ b/src/action.h @@ -1,7 +1,7 @@ #ifndef __ACTION_H__ #define __ACTION_H__ -#include +#include #include "vector.h" class Object; @@ -21,11 +21,16 @@ class Action: public QObject virtual void MouseDown(Vector) = 0; virtual void MouseMoved(Vector) = 0; virtual void MouseReleased(void) = 0; - virtual bool KeyDown(int) = 0; - virtual bool KeyReleased(int) = 0; + virtual void KeyDown(int) = 0; + virtual void KeyReleased(int) = 0; signals: void ObjectReady(Object *); + void NeedRefresh(void); + + // Class variables +// public: +// static unsigned int currentLayer; }; #endif // __ACTION_H__