mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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)
|
g.drawGroundImage(screen, g.groundImage)
|
||||||
|
|
||||||
// Draw the message.
|
// Draw the message.
|
||||||
tutrial := "Space: Move forward\nLeft/Right: Rotate"
|
tutorial := "Space: Move forward\nLeft/Right: Rotate"
|
||||||
msg := fmt.Sprintf("TPS: %0.2f\nFPS: %0.2f\n%s", ebiten.CurrentTPS(), ebiten.CurrentFPS(), tutrial)
|
msg := fmt.Sprintf("TPS: %0.2f\nFPS: %0.2f\n%s", ebiten.CurrentTPS(), ebiten.CurrentFPS(), tutorial)
|
||||||
ebitenutil.DebugPrint(screen, msg)
|
ebitenutil.DebugPrint(screen, msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user