Time for action — rendering the rockets

Implement a call to the function RenderRockets, inside the RenderGame method.

RenderLaunchers()
RenderRockets()
Return True

What just happened?

One call inside the RenderGame function, and all rockets that exist are drawn to the canvas. Save the file and let it run. Press A or S and you will see rockets flying to your mouse position, as long as some rockets are remaining.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.224.197