1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-06 18:27:20 -05:00
OpenDiablo2/Common/FileProvider.go

10 lines
277 B
Go
Raw Normal View History

2019-10-25 19:37:04 -04:00
package Common
import "github.com/essial/OpenDiablo2/PaletteDefs"
2019-10-25 19:37:04 -04:00
// 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
2019-10-25 19:37:04 -04:00
}