Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 21 ■ Questions and answers: Finishing the setup Methods and digital audio


Add a line of code after your createUInodes() method and type the createQAnodes() method name
and a semicolon, as shown highlighted in Figure 21-4. Use the Alt+Enter key combination and have
NetBeans write the bootstrap method body code.


Figure 21-4. Add a line of code after the createUInodes() method call, add the createQAnodes() method call,
and press Alt+Enter


Figure 21-3. You’ve now reorganized the Node object creation into the createUInodes() and
createBoardGameNodes() methods

Free download pdf