diff options
Diffstat (limited to 'common/tile.cpp')
-rw-r--r-- | common/tile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/tile.cpp b/common/tile.cpp index 4b7e3ef..4b1f8b5 100644 --- a/common/tile.cpp +++ b/common/tile.cpp @@ -43,6 +43,11 @@ Tile::Set Tile::get_set() const { } } +bool Tile::is_simple() const { + int n = get_num(); + return n > 1 && n < 9; +} + bool Tile::operator==(const Tile& other) const { return type == other.type; } |