mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 14:04:05 +09:00
Player movement seems like back to working, res→assets
Former-commit-id: f91181caee4dabf4cb2e51d8077441c6b0f83757 Former-commit-id: 8b450303698c5c85dea9145a056b290b95a6a7b0
This commit is contained in:
@@ -35,12 +35,12 @@ object WeatherMixer {
|
||||
const val WEATHER_GENERIC = "generic"
|
||||
// TODO add weather classification indices manually
|
||||
|
||||
const val RAW_DIR = "./res/raw/weathers"
|
||||
const val RAW_DIR = "./assets/raw/weathers"
|
||||
|
||||
init {
|
||||
weatherList = HashMap<String, ArrayList<BaseModularWeather>>()
|
||||
|
||||
// read weather descriptions from res/weather (modular weather)
|
||||
// read weather descriptions from assets/weather (modular weather)
|
||||
val weatherRawValidList = ArrayList<File>()
|
||||
val weatherRaws = File(RAW_DIR).listFiles()
|
||||
weatherRaws.forEach {
|
||||
@@ -157,7 +157,7 @@ object WeatherMixer {
|
||||
]
|
||||
}
|
||||
*/
|
||||
val pathToImage = "./res/graphics/weathers"
|
||||
val pathToImage = "./assets/graphics/weathers"
|
||||
|
||||
val JSON = JsonFetcher(path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user