Update example in doc.go

The function argument to ebiten.Run takes an *ebiten.Image,
and must return an error.
This commit is contained in:
Jeremy Jackins 2015-01-29 15:40:53 +09:00
parent b474c34965
commit 25665682ff

2
doc.go
View File

@ -16,7 +16,7 @@
//
// You can start the game by calling the function Run.
//
// func update(screen *ebiten.Screen) {
// func update(screen *ebiten.Image) error {
// // Define your game.
// }
//