Documentation ¶
Overview ¶
Package systems provides a standard set of systems for E2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWorldNotRegistered = errors.New("world assets not yet registered") ErrWorldRegistered = errors.New("world assets already registered") ErrInvalidAssetType = errors.New("invalid asset type") ErrInvalidAssetFormat = errors.New("invalid asset format") ErrInvalidAssetExt = errors.New("invalid asset file extension") ErrExpectedFolder = errors.New("given was is to a file, expected a folder") ErrExpectedFile = errors.New("given was is to a folder, expected a file") )
View Source
var Assets = &assetManager{ ImagesPath: "images", AudioPath: "audio", FontsPath: "fonts", available: make(map[string]any), }
Assets is a simple asset manager system.
Functions ¶
This section is empty.
Types ¶
type Profiler ¶ added in v0.2.0
type Profiler struct { Addr string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.