summaryrefslogtreecommitdiff
path: root/common/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/tile.h')
-rw-r--r--common/tile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/tile.h b/common/tile.h
index df3ea76..83ec10b 100644
--- a/common/tile.h
+++ b/common/tile.h
@@ -75,6 +75,9 @@ class Tile {
//! Get the set type of the tile (if one of the man/pin/sou-sets).
Set get_set() const;
+ //! Check if the tile is one of the simples (e.g. 2-8).
+ bool is_simple() const;
+
//! Compare two tiles. Equal if type matches; flags are not compared.
bool operator==(const Tile& other) const;