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
|
// 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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user