1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 00:41:10 +00:00

move data

This commit is contained in:
2022-06-16 10:26:51 +02:00
parent 77ace754ff
commit ada69759d5
160 changed files with 5 additions and 588 deletions

View File

@ -48,7 +48,7 @@ public abstract class Character extends Entity{
@Override
public void init() {
super.init();
ss = new Spritesheet("./" + img + ".png", SPRITE_WIDTH, SPRITE_HEIGHT);
ss = new Spritesheet("./Data/img/" + img + ".png", SPRITE_WIDTH, SPRITE_HEIGHT);
}
@Override

View File

@ -30,7 +30,7 @@ public class ScreenBattle extends RenderingScreen{
@Override
public void onInit() {
//display the question
generateFont("./font/Ubuntu-Regular.ttf", 30, Color.BLACK);
generateFont("./Data/font/Ubuntu-Regular.ttf", 30, Color.BLACK);
}

View File

@ -38,7 +38,7 @@ public class ScreenMap extends RenderingScreen{
private Player player;
private void createMap(String name){
TiledMap tm =new TmxMapLoader().load("./map/"+ name + ".tmx");
TiledMap tm =new TmxMapLoader().load("./Data/map/"+ name + ".tmx");
tMap.put(name,tm);
tMapRenderer.put(name,new OrthogonalTiledMapRenderer(tm));
}

View File

@ -16,7 +16,7 @@ public class FightData {
public int nbre_line =0;
public FightData(String branch) {
file = new File("./Battle/Fight/" + branch + ".csv");
file = new File("./Data/Battle/Fight/" + branch + ".csv");
}

View File

@ -12,7 +12,7 @@ public class SpeechData {
public SpeechData(String name){
file = new File("./Battle/Speech/" + name + ".txt");
file = new File("./Data/Battle/Speech/" + name + ".txt");
}
public void readFile() {