diff options
-rw-r--r-- | common/tile.cpp | 4 | ||||
-rw-r--r-- | common/tile.h | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/common/tile.cpp b/common/tile.cpp index 0fb2230..8ade606 100644 --- a/common/tile.cpp +++ b/common/tile.cpp @@ -2,10 +2,6 @@ #include <algorithm> -Tile::Tile() { - -} - Tile::Tile(Tile::Type t, bool re, bool ro) : type(t), red(re), rotated(ro) { } diff --git a/common/tile.h b/common/tile.h index 748d80b..461e145 100644 --- a/common/tile.h +++ b/common/tile.h @@ -61,11 +61,8 @@ class Tile { bool rotated; bool invisible; - //! Default constructor. - Tile(); - //! Construct tile by type. - Tile(Type t, bool re = false, bool ro = false); + Tile(Type t = Back, bool re = false, bool ro = false); //! Construct tile by set and number. Tile(Set s, int num, bool re = false, bool ro = false); |