[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() {
|
||||
Texture playerTex = new Texture();
|
||||
try {
|
||||
playerTex.loadFromFile(Paths.get("player.png"));
|
||||
playerTex.loadFromFile(Paths.get("res/player.png"));
|
||||
} catch(IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user