docs: Update comments

This commit is contained in:
Hajime Hoshi 2019-12-22 12:59:28 +09:00
parent 62bbb8818e
commit 807f91e6ca

3
doc.go
View File

@ -16,8 +16,10 @@
// //
// You can start the game by calling the function RunGame. // You can start the game by calling the function RunGame.
// //
// // Game implements ebiten.Game interface.
// type Game struct{} // type Game struct{}
// //
// // Update proceeds the game state.
// // Update is called every frame (1/60 [s]). // // Update is called every frame (1/60 [s]).
// func (g *Game) Update(screen *ebiten.Image) error { // func (g *Game) Update(screen *ebiten.Image) error {
// //
@ -52,6 +54,7 @@
// //
// For backward compatibility, you can use a shorthand style Run. // For backward compatibility, you can use a shorthand style Run.
// //
// // update proceeds the game state.
// // update is called every frame (1/60 [s]). // // update is called every frame (1/60 [s]).
// func update(screen *ebiten.Image) error { // func update(screen *ebiten.Image) error {
// //