working after merge
parent
4c1292bacf
commit
8060aa88e8
|
@ -67,8 +67,8 @@ public class LaticeApplicationWindow extends Application {
|
|||
Tile greenLeaf = new Tile(Color.GREEN, Shape.FEATHER);
|
||||
Tile redFlower = new Tile(Color.RED, Shape.FLOWER);
|
||||
|
||||
ArrayList<Tile> listRackTile = Rack.getListRackTile();
|
||||
ArrayList<Image> listTileImage = Rack.getRackTileImage();
|
||||
ArrayList<Tile> listRackTile;
|
||||
ArrayList<Image> listTileImage;
|
||||
ArrayList<Tile> listOfTile = new ArrayList<Tile>();
|
||||
Map<Rectangle, Tile> assocRectangleTile = new HashMap<Rectangle, Tile>();
|
||||
static StackPane rootLayout;
|
||||
|
@ -164,6 +164,7 @@ public class LaticeApplicationWindow extends Application {
|
|||
//deck.displayListTile();
|
||||
|
||||
|
||||
|
||||
//Confirm Button
|
||||
Image checkMark = new Image("checkMark.png");
|
||||
ImageView checkMarkView = new ImageView(checkMark);
|
||||
|
@ -186,6 +187,12 @@ public class LaticeApplicationWindow extends Application {
|
|||
rackImage.setMargin(rackImage.getChildren().get(4), new Insets(0,150,0,0));
|
||||
root.setBottom(rackImage);
|
||||
|
||||
//Adding lists to Arraylists
|
||||
listRackTile = rack2.getListRackTile();
|
||||
System.out.println(listRackTile);
|
||||
listTileImage = rack2.getRackTileImage();
|
||||
System.out.println("listTileImge : " + listTileImage);
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ public class Rack {
|
|||
}
|
||||
|
||||
public ArrayList<Tile> getListRackTile() {
|
||||
System.out.println(this.listRackTile);
|
||||
return this.listRackTile;
|
||||
}
|
||||
|
||||
|
@ -131,7 +132,7 @@ public class Rack {
|
|||
}
|
||||
|
||||
public ArrayList<Image> getRackTileImage() {
|
||||
return rackTileImage;
|
||||
return this.rackTileImage;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue