embeds

package
v0.0.0-...-ecfa503 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetManager

type AssetManager interface {
	Get(path string) ([]byte, error)
	GetEbitenImage(path string) (*ebiten.Image, error)
}

func NewDefaultAssetManager

func NewDefaultAssetManager(dm *dependencies.DependencyManager) (AssetManager, error)

type DefaultAssetManager

type DefaultAssetManager struct {
	// contains filtered or unexported fields
}

func (*DefaultAssetManager) Get

func (a *DefaultAssetManager) Get(path string) ([]byte, error)

func (*DefaultAssetManager) GetEbitenImage

func (a *DefaultAssetManager) GetEbitenImage(path string) (*ebiten.Image, error)

Jump to

Keyboard shortcuts

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