X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFrame.h;h=defa6b18ab303c175e66226e41969c1ff56a235d;hb=350055a7ff27c74882aff8a4d6af2014782f830b;hp=c6fb6027cb413172fee6e5c66036885b5ea30099;hpb=b02da898c7c8a08141df4e797774a61cf5e0163f;p=l2e.git diff --git a/src/graphics/Frame.h b/src/graphics/Frame.h index c6fb602..defa6b1 100644 --- a/src/graphics/Frame.h +++ b/src/graphics/Frame.h @@ -16,6 +16,9 @@ namespace graphics { class Frame { +public: + static const int TYPE_ID = 405; + public: explicit Frame(SDL_Surface *s = 0, int borderWidth = 1, int borderHeight = 1, int repeatWidth = 1, int repeatHeight = 1, int xOffset = 0, int yOffset = 0) : surface(s), borderSize(borderWidth, borderHeight), repeatSize(repeatWidth, repeatHeight), offset(xOffset, yOffset) { }