This commit is contained in:
@@ -16,7 +16,6 @@ class Piece {
|
||||
Polyomino polyomino; // a polyomino representing the piece, (0, 0) is downleft
|
||||
Block blockType; // the block type of the piece
|
||||
Rotation rotationState; // the current rotation of the piece
|
||||
std::vector<Position> positions; // cache positions for easier use (particularly UI)
|
||||
|
||||
public:
|
||||
/**
|
||||
@@ -37,7 +36,7 @@ class Piece {
|
||||
/**
|
||||
* @return The list of positions of the piece
|
||||
*/
|
||||
const std::vector<Position>& getPositions() const;
|
||||
const Polyomino& getPositions() const;
|
||||
|
||||
/**
|
||||
* @param the position of the square
|
||||
|
||||
Reference in New Issue
Block a user