added folders

This commit is contained in:
Romain MURPHY 2025-05-07 21:05:34 +02:00
parent 57e0180cb0
commit dd19f793da
12 changed files with 5 additions and 14 deletions

View File

@ -1,9 +0,0 @@
BR,BN,BB,BQ,BK,BB,BN,BR
BP,BP,BP,BP,BP,BP,BP,BP
, , , , , , ,
, , , , , , ,
, , , , , , ,
, , , , , , ,
WP,WP,WP,WP,WP,WP,WP,WP
WR,WN,WB,WQ,WK,WB,WN,WR
0W

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 954 B

After

Width:  |  Height:  |  Size: 954 B

View File

@ -7,7 +7,7 @@ public class SoundEffect {
public void captureSound() {
try {
File file = new File("Sounds/capture.wav");
File file = new File("sounds/capture.wav");
AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
Clip clip = AudioSystem.getClip();
clip.open(audioStream);
@ -19,7 +19,7 @@ public class SoundEffect {
public void movingSound() {
try {
File file = new File("Sounds/move-self.wav");
File file = new File("sounds/move-self.wav");
AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
Clip clip = AudioSystem.getClip();
clip.open(audioStream);
@ -31,7 +31,7 @@ public class SoundEffect {
public void aiSound() {
try {
File file = new File("Sounds/Voicy_R2-D2-7.wav");
File file = new File("sounds/Voicy_R2-D2-7.wav");
AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
Clip clip = AudioSystem.getClip();
clip.open(audioStream);
@ -43,7 +43,7 @@ public class SoundEffect {
public void checkSound() {
try {
File file = new File("Sounds/Voicy_Battle-Droid-Problem.wav");
File file = new File("sounds/Voicy_Battle-Droid-Problem.wav");
AudioInputStream audioStream = AudioSystem.getAudioInputStream(file);
Clip clip = AudioSystem.getClip();
clip.open(audioStream);

View File

@ -40,7 +40,7 @@ public class JPanelChessBoard extends JPanel {
pieceSelectorMode = false;
try {
spriteSheet = ImageIO.read(new File("newPieces.png"));
spriteSheet = ImageIO.read(new File("pieces/newPieces.png"));
} catch (IOException e) {
e.printStackTrace();
}