examples/airship: chore: fix typo (#1907)

This commit is contained in:
ebiiim 2021-12-20 21:54:24 +09:00 committed by GitHub
parent 061614080a
commit 4d988b2457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,8 +269,8 @@ func (g *Game) Draw(screen *ebiten.Image) {
g.drawGroundImage(screen, g.groundImage)
// Draw the message.
tutrial := "Space: Move forward\nLeft/Right: Rotate"
msg := fmt.Sprintf("TPS: %0.2f\nFPS: %0.2f\n%s", ebiten.CurrentTPS(), ebiten.CurrentFPS(), tutrial)
tutorial := "Space: Move forward\nLeft/Right: Rotate"
msg := fmt.Sprintf("TPS: %0.2f\nFPS: %0.2f\n%s", ebiten.CurrentTPS(), ebiten.CurrentFPS(), tutorial)
ebitenutil.DebugPrint(screen, msg)
}