From 59cab98b201367ad31a8356bb9e8d701cb59179d Mon Sep 17 00:00:00 2001 From: David Vereb Date: Sun, 2 Apr 2023 12:53:00 -0400 Subject: [PATCH] Added piece title. Probably going to refactor rotate, draw, etc. next before adding flip. --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 6a86e18..1d4246f 100644 --- a/main.cpp +++ b/main.cpp @@ -106,6 +106,8 @@ void DemoPieces() { Piece piece = static_cast(i); DrawPiece(piece, y, x, rotation); + mvaddstr(y-1, x, "Piece"); + mvaddstr(y-1, x + 6, std::to_string(i + 1).c_str()); x += 12; }