summary refs log tree commit diff stats
path: root/src/tileset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tileset.h b/src/tileset.h new file mode 100644 index 0000000..552b2f8 --- /dev/null +++ b/src/tileset.h
@@ -0,0 +1,13 @@
1#ifndef TILESET_H_B89AE7A1
2#define TILESET_H_B89AE7A1
3
4class Tileset {
5public:
6
7 bool canPlayerMoveTo(size_t tile) const
8 {
9 return (tile % 2 == 1);
10 }
11};
12
13#endif /* end of include guard: TILESET_H_B89AE7A1 */