summaryrefslogtreecommitdiffstats
path: root/ksokoban/HtmlPrinter.h
blob: 1f27760737ba723e6cfabc70cd6f771ce0ba0e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */