X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTilemapFont.hh;h=89cb062ad8cedbc0539b3ea45f89a45146ab77e7;hp=56a2d4bcfcc1e62348198a320a88c7f56517c8ec;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4 diff --git a/src/TilemapFont.hh b/src/TilemapFont.hh index 56a2d4b..89cb062 100644 --- a/src/TilemapFont.hh +++ b/src/TilemapFont.hh @@ -34,22 +34,17 @@ * Text on the screen. */ -#include +#include -class TilemapFont : public Mf::Tilemap +class TilemapFont : public Mf::Texture { public: - struct Exception : public std::runtime_error - { - explicit Exception(const std::string& what_arg) : - std::runtime_error(what_arg) {} - }; TilemapFont(); void getTileCoords(char symbol, Mf::Scalar coords[8], - Mf::Tilemap::Orientation what = Mf::Tilemap::NORMAL); + Mf::Texture::Orientation what = Mf::Texture::NORMAL); };