Game Development Reference
In-Depth Information
Figure 17-18
.
Create an Enemy.java class, override the .update() method, and code your Enemy() constructor meth-
od
The next step in the work process is to use GIMP to create the
collision polygon
for the Enemy object, as is seen in
Figure 17-19
, using only nine data points. Use the
SVG data creation work process you learned in
Chapter 16
.