[Add] 'res' folder for resources.

This commit is contained in:
Ritchie Cunningham 2022-03-06 23:47:55 +00:00
parent 6582bec5bc
commit 7a0975288a
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -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();
}