* 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);
};