Documentation ¶
Overview ¶
Package asset provides interfaces for Asset and Source
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset interface { fmt.Stringer io.Reader io.Seeker io.Closer Type() types.AssetType Source() Source Path() string Data() ([]byte, error) }
Asset represents a game asset. It has a type, an asset source, a sub-path (within the asset source), and it can read data and seek within the data
Click to show internal directories.
Click to hide internal directories.