assets

package
v0.0.0-...-8caf293 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dice = []*ebiten.Image{
		MustLoadSprite("dieWhite1.png"),
		MustLoadSprite("dieWhite2.png"),
		MustLoadSprite("dieWhite3.png"),
		MustLoadSprite("dieWhite4.png"),
		MustLoadSprite("dieWhite5.png"),
		MustLoadSprite("dieWhite6.png"),
	}

	NormalFont = MustLoadFont("Roboto-Regular.ttf")
)

Functions

func LoadFont

func LoadFont(name string) (font.Face, error)

func LoadSprite

func LoadSprite(name string) (*ebiten.Image, error)

func MustLoadFont

func MustLoadFont(name string) font.Face

func MustLoadSprite

func MustLoadSprite(name string) *ebiten.Image

Types

This section is empty.

Jump to

Keyboard shortcuts

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