Player movement seems like back to working, res→assets

Former-commit-id: f91181caee4dabf4cb2e51d8077441c6b0f83757
Former-commit-id: 8b450303698c5c85dea9145a056b290b95a6a7b0
This commit is contained in:
Song Minjae
2016-08-02 17:32:42 +09:00
parent 5e7a95a3b9
commit 17c39c1824
248 changed files with 371 additions and 104 deletions

View File

@@ -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)