Versions in this module Expand all Collapse all v1 v1.0.0 Apr 8, 2017 Changes in this version + type DrawOptions struct + CenterRotationDeg float32 + FlipX bool + Transparency float32 + type Game interface + Frame func([]InputEvent) + SetScreenSize func(width, height int) + func New(resources Resources) Game + type Image interface + DrawAt func(x, y int) + DrawAtEx func(x, y int, options DrawOptions) + DrawRectAt func(x, y int, source Rectangle) + Size func() (width, height int) + type Info struct + CavemanHitBox Rectangle + LevelCount int + RockHitBox Rectangle + type InputEvent struct + Down bool + Key Key + type Key int + const KeyLeft + const KeyRestart + const KeyRight + const KeyUp + type Rectangle struct + H int + W int + X int + Y int + type Resources interface + LoadFile func(id string) []byte + LoadImage func(id string) Image + LoadSound func(id string) Sound + type Sound interface + Play func() + PlayLooping func() Incompatible versions in this module v2.0.0+incompatible Jul 6, 2017