Move printing around, gives a more accurate result.

This commit is contained in:
Sacha Ligthert 2023-12-05 23:49:57 +01:00
parent 063cab6521
commit f0ad3157f3

View File

@ -87,10 +87,8 @@ func (game *Game) gameDirector() {
// Draw starter conditions // Draw starter conditions
game.drawBox() game.drawBox()
game.drawScore()
game.drawPlayer() game.drawPlayer()
//game.drawCoords() //game.drawCoords()
game.drawDebug()
// Draw robots?? // Draw robots??
if len(game.robots) == 0 { if len(game.robots) == 0 {
@ -103,6 +101,10 @@ func (game *Game) gameDirector() {
// Draw my ex-wife // Draw my ex-wife
game.drawTrash() game.drawTrash()
// Draw stuff last
game.drawScore()
game.drawDebug()
// Draw the screen // Draw the screen
game.screen.Show() game.screen.Show()