X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.h;h=07cd35f0a5f32867e33487fbb082b578d589478d;hb=9d645a0059d185291f63c1375bd4e5ae844acde6;hp=571431df74dca406a73572c881669eda69208513;hpb=d5959073b2c413ba1bd6f3d14bc8bcf59304e488;p=l2e.git diff --git a/src/graphics/Font.h b/src/graphics/Font.h index 571431d..07cd35f 100644 --- a/src/graphics/Font.h +++ b/src/graphics/Font.h @@ -17,6 +17,9 @@ namespace graphics { class Font { +public: + static const int TYPE_ID = 404; + public: explicit Font(const Sprite *sprite = 0, int colOffset = 0, int rowOffset = 0) : sprite(sprite), colOffset(colOffset), rowOffset(rowOffset) { @@ -36,6 +39,9 @@ public: void SetColOffset(int n) { colOffset = n; } void SetRowOffset(int n) { rowOffset = n; } + static void CreateTypeDescription(); + static void Construct(void *); + private: const Sprite *sprite; int colOffset;