Move printing around, gives a more accurate result.
This commit is contained in:
parent
063cab6521
commit
f0ad3157f3
6
game.go
6
game.go
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user