Added piece title. Probably going to refactor rotate, draw, etc. next before adding flip.
This commit is contained in:
parent
75a8f365ce
commit
59cab98b20
2
main.cpp
2
main.cpp
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user