
上QQ阅读APP看书,第一时间看更新
Time for action — updating the explosions
Add a call to the function UpdateExplosions
, inside the UpdateGame
method.
Method UpdateGame() UpdateLaunchers() UpdateRockets() UpdateExplosions Return True
What just happened?
With that call to UpdateExplosions
, the game will update created explosions automatically.