Documentation ¶
Index ¶
Constants ¶
View Source
const (
SpriteSize int = 10
)
Variables ¶
View Source
var ( //go:embed assets/smith.png PlayerSprite []byte //go:embed assets/heart.png HeartSprite []byte //go:embed assets/world.png WorldSprite []byte //go:embed assets/world.json WorldRawData []byte )
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func NewGame ¶
func NewGame(options WindowOptions) *Game
type WindowOptions ¶
type WindowOptions struct {
Scale int
}
Click to show internal directories.
Click to hide internal directories.