HTML and CSS Reference
In-Depth Information
Step 5: Spawn enemies in a controlled manner
Although you now have a class for polygon entities, you'll need a separate object to
generate them. You can create this with a new object called
PolygonGen
right below
gd.template.Polygon
with the next listing.