From b76c24eba4fdede389e52d7e542e07fdef07c3bc Mon Sep 17 00:00:00 2001 From: Ole Daniel Evensen Date: Tue, 16 Nov 2010 23:02:37 +0100 Subject: Some commenting for debug. Changed tile-class. Created basic drawHand in table. --- common/tile.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'common/tile.h') 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); }; -- cgit v1.2.3