]> Dogcows Code - chaz/yoink/blobdiff - src/TilemapFont.hh
library class revamped as manager, goodbye tilemap
[chaz/yoink] / src / TilemapFont.hh
index 5ec906465f6701e8478bae4d0dd57fdc7748b0cf..89cb062ad8cedbc0539b3ea45f89a45146ab77e7 100644 (file)
  * Text on the screen.
  */
 
-#include "tilemap.hh"
+#include <Moof/Texture.hh>
 
 
-class TilemapFont : public dc::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, dc::scalar coords[8],
-                       dc::tilemap::orientation what = dc::tilemap::normal);
+       void getTileCoords(char symbol, Mf::Scalar coords[8],
+                       Mf::Texture::Orientation what = Mf::Texture::NORMAL);
 };
 
 
This page took 0.019682 seconds and 4 git commands to generate.