Commit 1244498c authored by Frederik Schwarzer's avatar Frederik Schwarzer

Missing Slide.

parent 2ba12614
......@@ -92,7 +92,7 @@ bool PossibleMove::hasSlide() const
return m_hasSlide;
}
Path PossibleMove::slide() const
Slide PossibleMove::slide() const
{
return m_slide;
}
......
......@@ -43,13 +43,13 @@ public:
Path path() const;
bool hasSlide() const;
Path slide() const;
Slide slide() const;
void prependTile(TilePos const tilePos);
private:
Path m_path; ///< path used to connect the two tiles
bool m_hasSlide; ///< flag set if the move requires a slide
Path m_slide; ///< path representing the movement of the last sliding tile
Slide m_slide; ///< representing the movement of the last sliding tile
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment