mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-09 03:37:17 -05:00
10 lines
267 B
Go
10 lines
267 B
Go
package Common
|
|
|
|
import "github.com/essial/OpenDiablo2/Palettes"
|
|
|
|
// FileProvider is an instance that can provide different types of files
|
|
type FileProvider interface {
|
|
LoadFile(fileName string) []byte
|
|
LoadSprite(fileName string, palette Palettes.Palette) *Sprite
|
|
}
|