Game Development Reference
In-Depth Information
Figure 11-10 . Copy .setOnAction() event handlers from the .start() method into the .createSplashScreenNodes()
method
Since we don't have to do anything to your .addNodesToStackPane() method, we
are finished with the code reorganization that we needed to do here, before we take this
game to the next level of complexity! Every now and then, you need to go back and
make sure that your programming logic is optimally structured, so that when you build
more complex structures, you have a solid foundation to build upon, just like you're
building a real building structure.
Powering the iBagel Actor: Using the
GamePlayLoop
Next let's “wire up” or make the connection between these game engines that we have
been putting into place in our game code infrastructure during the first half of the topic.
 
Search WWH ::




Custom Search