Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 14 ■ 3D MoDel hierarChy Creation: Using priMitives to Create a gaMe BoarD

q3 = new Box(300, 5, 300);
q3.setVisible(false);
... // The third quadrant configuration code will go in here
q4 = new Box(300, 5, 300);
q4.setVisible(false);
}


Figure 14-21. Instantiate and configure game board squares Q2S1 through Q2S5 inside of
createGameBoardNodes()

Free download pdf