Documentation ¶
Index ¶
- type Object
- func NewBackground(imgName string) Object
- func NewCrosshair(imgName, clickedImgName string) Object
- func NewCurtains(top, lateral string) Object
- func NewDesk(imgName string) Object
- func NewLevel1(imgName, duckImgName string, maxDucks int, score *int64) Object
- func NewScore(scoreImgName, dotsImgName, numImgName string, scoreValue *int64) Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object interface { Update(*ebiten.Image, uint) // tell the object a new tick happened Draw(*ebiten.Image) error // draw the object OnScreen() bool // false when the object is out of the screen }
func NewBackground ¶
func NewCrosshair ¶
func NewCurtains ¶
Click to show internal directories.
Click to hide internal directories.