resourcemanager

package module
v0.0.0-...-600f1e7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 5 Imported by: 0

README

resource-manager

Resource management for Ebitengine

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomID

type CustomID int

type JSONID

type JSONID int

type ResourceManager

type ResourceManager struct {
	Audio *audiomanager.AudioManager
	Font  *fontmanager.FontManager
	Image *imagemanager.ImageManager
	// contains filtered or unexported fields
}

func Create

func Create() ResourceManager

func CreateWithFS

func CreateWithFS(fs fs.FS) ResourceManager

func (*ResourceManager) AddCustomManager

func (rm *ResourceManager) AddCustomManager(id CustomID, custom any)

func (*ResourceManager) AddJSONManager

func (rm *ResourceManager) AddJSONManager(id JSONID, json any)

func (*ResourceManager) GetCustomManager

func (rm *ResourceManager) GetCustomManager(id CustomID) any

func (*ResourceManager) GetJSONManager

func (rm *ResourceManager) GetJSONManager(id JSONID) any

func (*ResourceManager) RemoveCustomManager

func (rm *ResourceManager) RemoveCustomManager(id CustomID)

func (*ResourceManager) RemoveJSONManager

func (rm *ResourceManager) RemoveJSONManager(id JSONID)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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