summaryrefslogtreecommitdiffstats
path: root/ksokoban/HtmlPrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban/HtmlPrinter.h')
-rw-r--r--ksokoban/HtmlPrinter.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ksokoban/HtmlPrinter.h b/ksokoban/HtmlPrinter.h
new file mode 100644
index 00000000..1f277607
--- /dev/null
+++ b/ksokoban/HtmlPrinter.h
@@ -0,0 +1,18 @@
+#ifndef HTMLPRINTER_H
+#define HTMLPRINTER_H
+
+#include "LevelMap.h"
+
+class HtmlPrinter {
+public:
+ static void printHtml (LevelMap *lm);
+
+protected:
+ static void wall (bool up, bool down, bool left, bool right);
+ static void image (const char *name);
+ static void empty ();
+ static void printSquare (LevelMap *lm, int x, int y);
+};
+
+
+#endif /* HTMLPRINTER_H */