examples/typewriter: Fix comments

This commit is contained in:
Hajime Hoshi 2021-07-10 04:38:26 +09:00
parent 6bc22d4587
commit 30e3047d29

View File

@ -54,7 +54,7 @@ type Game struct {
} }
func (g *Game) Update() error { func (g *Game) Update() error {
// Add a string by AppendInputChars, that appends runes input by users. // Add runes that are input by the user by AppendInputChars.
// Note that AppendInputChars result changes every frame, so you need to call this // Note that AppendInputChars result changes every frame, so you need to call this
// every frame. // every frame.
g.runes = ebiten.AppendInputChars(g.runes[:0]) g.runes = ebiten.AppendInputChars(g.runes[:0])