blob: f436575993d8b57934c0836ecaaa6a905566d2a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package descriptors
import (
utils "github.com/DegustatorPonos/RuinesOfRafdolon/Utils"
)
const TexturesDescriptorDirectoryName string = "Textures"
const TexturesDescriptorFileName string = "Meta.json"
type TexturesDescriptor struct {
Avaliable []string
}
func (base *TexturesDescriptor) GetTexturePath(packageLocation string, textureName string) string {
return utils.JoinFileLocations([]string {
packageLocation,
TexturesDescriptorDirectoryName,
textureName,
})
}
func IsValid() error {
return nil
}
|