[Add] 'res' folder for resources.
This commit is contained in:
parent
6582bec5bc
commit
7a0975288a
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -19,7 +19,7 @@ public class Player {
|
|||||||
public Player() {
|
public Player() {
|
||||||
Texture playerTex = new Texture();
|
Texture playerTex = new Texture();
|
||||||
try {
|
try {
|
||||||
playerTex.loadFromFile(Paths.get("player.png"));
|
playerTex.loadFromFile(Paths.get("res/player.png"));
|
||||||
} catch(IOException ex) {
|
} catch(IOException ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user