docs: Draw function definition was ommitted on godoc.org

This commit is contained in:
Hajime Hoshi 2020-04-01 04:22:38 +09:00
parent 97e3fce440
commit cd825f34f6

4
run.go
View File

@ -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.
//