diff options
Diffstat (limited to 'move.h')
-rw-r--r-- | move.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -139,6 +139,9 @@ private: int m_scoreAddition; }; +// comparison based on action, then tiles, then horizontalness, then startrow, then endcol +bool operator<(const Quackle::Move &move1, const Quackle::Move &move2); + class MoveList : public vector<Move> { public: @@ -226,9 +229,6 @@ inline bool Move::isAlreadyOnBoard(Letter letter) // are equal bool operator==(const Quackle::Move &move1, const Quackle::Move &move2); -// comparison based on action, then tiles, then horizontalness, then startrow, then endcol -bool operator<(const Quackle::Move &move1, const Quackle::Move &move2); - UVOStream& operator<<(UVOStream& o, const Quackle::Move& m); UVOStream& operator<<(UVOStream& o, const Quackle::MoveList& moves); |