O'Reilly logo

Beginning Java 8 Games Development by Wallace Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 11

image

Moving Your Action Figure in 2D: Controlling the X and Y Display Screen Coordinates

Now that we have created the public CastingDirector class, which I call the “casting engine,” in Chapter 10, we need to get back into our InvinciBagel.java primary application class coding here in Chapter 11, and create our iBagel primary game play Actor (character) in the .createGameActors() method. We will also create the castDirector object using the CastingDirector.java class and its CastingDirector() constructor method, which we created in Chapter 10, as well as creating the .createCastingDirection() method, which will manage our casting direction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required