mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
10 lines
282 B
Go
10 lines
282 B
Go
package common
|
|
|
|
import "github.com/OpenDiablo2/OpenDiablo2/palettedefs"
|
|
|
|
// FileProvider is an instance that can provide different types of files
|
|
type FileProvider interface {
|
|
LoadFile(fileName string) []byte
|
|
LoadSprite(fileName string, palette palettedefs.PaletteType) *Sprite
|
|
}
|