mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
docs: Draw function definition was ommitted on godoc.org
This commit is contained in:
parent
3d03599882
commit
5300b0f498
4
run.go
4
run.go
@ -28,6 +28,10 @@ type Game interface {
|
||||
// Basically Update updates the game logic, and whether Update draws the screen depends on the existence of
|
||||
// Draw implementation.
|
||||
//
|
||||
// The Draw function's definition is:
|
||||
//
|
||||
// Draw(screen *Image) error
|
||||
//
|
||||
// The give argument represents a screen image. Whether the updated content is used or not
|
||||
// depends on the existence of Draw definition.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user