mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/airship: chore: fix typo (#1907)
This commit is contained in:
parent
061614080a
commit
4d988b2457
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user