objects

package
v0.0.0-...-0a9aa5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object interface {
	Tick(*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 NewBackground(img string) Object

func NewCurtains

func NewCurtains(top, lateral string) Object

func NewDesk

func NewDesk(img string) Object

func NewLevel1

func NewLevel1(imgName string, maxDucks int) Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL