Added piece title. Probably going to refactor rotate, draw, etc. next before adding flip.

This commit is contained in:
David Vereb 2023-04-02 12:53:00 -04:00
parent 75a8f365ce
commit 59cab98b20

View File

@ -106,6 +106,8 @@ void DemoPieces()
{ {
Piece piece = static_cast<Piece>(i); Piece piece = static_cast<Piece>(i);
DrawPiece(piece, y, x, rotation); DrawPiece(piece, y, x, rotation);
mvaddstr(y-1, x, "Piece");
mvaddstr(y-1, x + 6, std::to_string(i + 1).c_str());
x += 12; x += 12;
} }