To modify the
gameClasses file, we will follow the ensuing steps:
Importstatement for the
Import explosionClass Import bombClass
You have added importing of the
bombClass.monkey file so it can be used now.
Just like rockets, bombs will move down the screen, and so need to be updated each frame. For this, we need to call the function
UpdateBombs within the