image path helper functions
This commit is contained in:
@@ -14,3 +14,7 @@ type Platform struct {
|
||||
Type PlatformType
|
||||
Position Position
|
||||
}
|
||||
|
||||
func GetPlatformTypeImagePath(name PlatformTypeMapKey) string {
|
||||
return GetObjectDirectory(PlatformObjectType) + string(name) + ".png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user