diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-19 12:19:41 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-19 12:19:41 +0100 |
commit | 94a1189d757f0269ac081ad2d750152e30564986 (patch) | |
tree | 71da6c79ce4f96795e3ddd3ef374c617a57c8d08 /common/set.h | |
parent | 5824342e0ffbcac84bfb2c1c6ed3590fd1cdfc4d (diff) |
Linked common as submodule.
Diffstat (limited to 'common/set.h')
m--------- | common | 0 | ||||
-rw-r--r-- | common/set.h | 24 |
2 files changed, 0 insertions, 24 deletions
diff --git a/common b/common new file mode 160000 +Subproject dd64a35c949738c2c321989d065e0754556823d diff --git a/common/set.h b/common/set.h deleted file mode 100644 index faf9a3b..0000000 --- a/common/set.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef SET_H -#define SET_H - -#include "tile.h" - -class Set { - public: - enum Type { - Pair, - Chi, - Pon, - Kan - }; - - Type type; - Tiles tiles; - bool open; - - Set(Type ty, Tiles ti, bool o) : type(ty), tiles(ti), open(o) {} -}; - -typedef List<Set> Sets; - -#endif |