]> Dogcows Code - chaz/yoink/blobdiff - src/TilemapFont.hh
library class revamped as manager, goodbye tilemap
[chaz/yoink] / src / TilemapFont.hh
index 56a2d4bcfcc1e62348198a320a88c7f56517c8ec..89cb062ad8cedbc0539b3ea45f89a45146ab77e7 100644 (file)
  * Text on the screen.
  */
 
-#include <Moof/Tilemap.hh>
+#include <Moof/Texture.hh>
 
 
-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);
 };
 
 
This page took 0.020099 seconds and 4 git commands to generate.