mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-03 23:26:41 -05:00
adding Path method to abstract source interface
This commit is contained in:
parent
474a03e5dc
commit
5727aa2f58
@ -14,6 +14,7 @@ var _ akara.ComponentMap = &FileSourceMap{}
|
|||||||
|
|
||||||
// AbstractSource is the abstract representation of what a file source is
|
// AbstractSource is the abstract representation of what a file source is
|
||||||
type AbstractSource interface {
|
type AbstractSource interface {
|
||||||
|
Path() string
|
||||||
Open(path *FilePathComponent) (d2interface.DataStream, error)
|
Open(path *FilePathComponent) (d2interface.DataStream, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user