summaryrefslogtreecommitdiff
path: root/common/tile.h
diff options
context:
space:
mode:
authorOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-16 23:02:37 +0100
committerOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-16 23:02:37 +0100
commitb76c24eba4fdede389e52d7e542e07fdef07c3bc (patch)
tree5abe3cd58ab3206352ed3e9f77559beed3e16ff4 /common/tile.h
parentff3f2c3d619479072780fa8311077ac2d35996e1 (diff)
Some commenting for debug. Changed tile-class. Created basic drawHand in table.
Diffstat (limited to 'common/tile.h')
-rw-r--r--common/tile.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/common/tile.h b/common/tile.h
index 6a57da3..7094306 100644
--- a/common/tile.h
+++ b/common/tile.h
@@ -49,17 +49,12 @@ class Tile {
Hatsu
};
- enum Flags {
- None = 0x00,
- Rotated = 0x01,
- Red = 0x02
- };
-
Type type;
- Flags flags;
+ bool red;
+ bool rotated;
Tile();
- Tile(Type t, Flags f = None);
+ Tile(Type t, bool re = false, bool ro = false);
Tile(uint16_t w);
};