Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 20 ■ Coding gameplay: Set Up gameplay methodS and animated Camera View

Figure 20-17. Test with a Run ➤ Project work process; make sure each square populates the quadrant with
the correct image


Again, compare what you’re doing in setupQ4S1gamedesign() through setupQ4S5gamedesign()
with what you’re doing in populateQuadrantFour(). Make sure everything syncs together by comparing
Figures 20-15 and 20-16.


Let’s use the Run ➤ Project work process shown in Figure 20-17 to test the new code for the fourth quadrant.

Figure 20-16. Confirm the populateQuadrantFour() method image assets cross-reference the
createQSgameplay() methods

Free download pdf