assets

package
v0.0.0-...-a139e77 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SmallFont  font.Face
	NormalFont font.Face
	NarrowFont font.Face

	Bodies          []component.Body
	Hairs           []component.Hair
	FacialHairs     []component.Hair
	HeadArmors      []component.Armor
	ChestArmors     []component.Armor
	LegsArmors      []component.Armor
	FeetArmors      []component.Armor
	MainHandWeapons []component.Weapon
	OffHandWeapons  []component.Weapon
)

Functions

func MustLoadAssets

func MustLoadAssets()

func RandomFrom

func RandomFrom[T comparable](list []T) T

func RandomFromOrEmpty

func RandomFromOrEmpty[T comparable](list []T) *T

Types

This section is empty.

Jump to

Keyboard shortcuts

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