mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
docs: Draw function definition was ommitted on godoc.org
This commit is contained in:
parent
97e3fce440
commit
cd825f34f6
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