The first thing you need to do is to add a new object to the
Importstatement for the
Import cityClass Import launcherClass
You have just added the
launcher class to the game, and it can be used now.
As we want to create a launcher in our game, we need to modify the main class,
RocketCommander. To add them, we have created the
CreateLauncher function. Remember, when you want to set up objects, the perfect place is the
SetupGame method. Let's modify it.