We will create these layers inside their own
CreateLayers method. Follow these steps:
layerBackGround = eng.CreateLayer() layerGame = eng.CreateLayer() layerTitle = eng.CreateLayer()
Return 0 End
We have added a method to create new layers. These layers help us with updating and rendering the game in an organized fashion.
This time, we will compose the background layer. It will be drawn as the background for the actual gameplay.