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
game.drawBox()
game.drawScore()
game.drawPlayer()
//game.drawCoords()
game.drawDebug()
// Draw robots??
if len(game.robots) == 0 {
@ -103,6 +101,10 @@ func (game *Game) gameDirector() {
// Draw my ex-wife
game.drawTrash()
// Draw stuff last
game.drawScore()
game.drawDebug()
// Draw the screen
game.screen.Show()