@@ -1495,7 +1495,7 @@ private void buildMenu(Stage stage) {
1495
1495
Platform .exit ();
1496
1496
System .exit (0 );
1497
1497
});
1498
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1498
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1499
1499
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1500
1500
BackgroundSize .DEFAULT );
1501
1501
MenuOptions .setBackground (new Background (myBI ));
@@ -1538,7 +1538,7 @@ private void newGameMapSelection(Stage stage) {
1538
1538
garbageTop .setMinHeight (160 );
1539
1539
Button map1 = new Button ("Map 1" );
1540
1540
Text label1 = new Text (" 2-4 Players" );
1541
- Image image1 = new Image ("file:./src/views /Map1.PNG" , 110 , 110 , false , true );
1541
+ Image image1 = new Image ("file:./src/assets/menus /Map1.PNG" , 110 , 110 , false , true );
1542
1542
Canvas canvas1 = new Canvas (110 , 110 );
1543
1543
GraphicsContext context1 = canvas1 .getGraphicsContext2D ();
1544
1544
context1 .drawImage (image1 , 0 , 0 );
@@ -1552,7 +1552,7 @@ private void newGameMapSelection(Stage stage) {
1552
1552
VBox col2 = new VBox ();
1553
1553
Button map2 = new Button ("Map 2" );
1554
1554
Text label2 = new Text (" 2-3 Players" );
1555
- Image image2 = new Image ("file:./src/views /Map2.PNG" , 110 , 110 , false , true );
1555
+ Image image2 = new Image ("file:./src/assets/menus /Map2.PNG" , 110 , 110 , false , true );
1556
1556
Canvas canvas2 = new Canvas (110 , 110 );
1557
1557
GraphicsContext context2 = canvas2 .getGraphicsContext2D ();
1558
1558
context2 .drawImage (image2 , 0 , 0 );
@@ -1566,7 +1566,7 @@ private void newGameMapSelection(Stage stage) {
1566
1566
VBox col3 = new VBox ();
1567
1567
Button map3 = new Button ("Map 3" );
1568
1568
Text label3 = new Text (" 2 Players " );
1569
- Image image3 = new Image ("file:./src/views /Map3.PNG" , 110 , 110 , false , true );
1569
+ Image image3 = new Image ("file:./src/assets/menus /Map3.PNG" , 110 , 110 , false , true );
1570
1570
Canvas canvas3 = new Canvas (110 ,110 );
1571
1571
GraphicsContext context3 = canvas3 .getGraphicsContext2D ();
1572
1572
context3 .drawImage (image3 , 0 , 0 );
@@ -1580,7 +1580,7 @@ private void newGameMapSelection(Stage stage) {
1580
1580
VBox col4 = new VBox ();
1581
1581
Button map4 = new Button ("Map 4" );
1582
1582
Text label4 = new Text (" 2-4 Players" );
1583
- Image image4 = new Image ("file:./src/views /Map4.PNG" , 110 , 110 , false , true );
1583
+ Image image4 = new Image ("file:./src/assets/menus /Map4.PNG" , 110 , 110 , false , true );
1584
1584
Canvas canvas4 = new Canvas (110 ,110 );
1585
1585
GraphicsContext context4 = canvas4 .getGraphicsContext2D ();
1586
1586
context4 .drawImage (image4 , 0 , 0 );
@@ -1595,7 +1595,7 @@ private void newGameMapSelection(Stage stage) {
1595
1595
col3 .setSpacing (10 );
1596
1596
col4 .setSpacing (10 );
1597
1597
mapSelection .getChildren ().addAll (col1 , col2 , col3 , col4 );
1598
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1598
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1599
1599
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1600
1600
BackgroundSize .DEFAULT );
1601
1601
Window .setBackground (new Background (myBI ));
@@ -1679,7 +1679,7 @@ private void queryMapSize(Stage stage) {
1679
1679
queryPlayerCount4 (stage );
1680
1680
});
1681
1681
playerCountSelection .getChildren ().addAll (button1 , button2 , button3 , button4 );
1682
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1682
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1683
1683
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1684
1684
BackgroundSize .DEFAULT );
1685
1685
Window .setBackground (new Background (myBI ));
@@ -1749,7 +1749,7 @@ private void queryPlayerCount4(Stage stage) {
1749
1749
startGame (stage );
1750
1750
});
1751
1751
playerCountSelection .getChildren ().addAll (button1 , button2 , button3 , button4 );
1752
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1752
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1753
1753
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1754
1754
BackgroundSize .DEFAULT );
1755
1755
Window .setBackground (new Background (myBI ));
@@ -1812,7 +1812,7 @@ private void queryPlayerCount3(Stage stage) {
1812
1812
startGame (stage );
1813
1813
});
1814
1814
playerCountSelection .getChildren ().addAll (button1 , button2 , button3 );
1815
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1815
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1816
1816
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1817
1817
BackgroundSize .DEFAULT );
1818
1818
Window .setBackground (new Background (myBI ));
@@ -1863,7 +1863,7 @@ private void queryPlayerCount2(Stage stage) {
1863
1863
startGame (stage );
1864
1864
});
1865
1865
playerCountSelection .getChildren ().addAll (button1 , button2 );
1866
- BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/views /background.jpg" ,32 ,32 ,false ,true ),
1866
+ BackgroundImage myBI = new BackgroundImage (new Image ("file:./src/assets/menus /background.jpg" ,32 ,32 ,false ,true ),
1867
1867
BackgroundRepeat .REPEAT , BackgroundRepeat .REPEAT , BackgroundPosition .DEFAULT ,
1868
1868
BackgroundSize .DEFAULT );
1869
1869
Window .setBackground (new Background (myBI ));
0 commit comments