Made the fight gif runnable by everyone hopefully

This commit is contained in:
KahootChampion
2019-03-19 23:49:36 -06:00
parent a33273035a
commit 7b9796f92c
2 changed files with 136 additions and 211 deletions

View File

@@ -348,8 +348,8 @@ public class ShipWarfareGUI extends Player{
//Creating an image
//Image image = new Image(new FileInputStream("/Users/harismuhammad/Desktop/ShipsAttacking.gif"));
Image image = new Image(new FileInputStream("/Users/harismuhammad/Documents/TaipanClone/src/ShipsAttacking.gif"));
System.out.println(System.getProperty("user.dir"));
Image image = new Image(new FileInputStream("src/ShipsAttacking.gif"));
//Setting the image view
ImageView shipsAttackingGif = new ImageView(image);