mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
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:
parent
b474c34965
commit
25665682ff
2
doc.go
2
doc.go
@ -16,7 +16,7 @@
|
|||||||
//
|
//
|
||||||
// You can start the game by calling the function Run.
|
// You can start the game by calling the function Run.
|
||||||
//
|
//
|
||||||
// func update(screen *ebiten.Screen) {
|
// func update(screen *ebiten.Image) error {
|
||||||
// // Define your game.
|
// // Define your game.
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user