mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-30 19:29:17 +00:00 
			
		
		
		
	move data
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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); | ||||
| 	} | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -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)); | ||||
| 	} | ||||
|   | ||||
| @@ -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"); | ||||
|          | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user