Game Development Reference
In-Depth Information
Figure 7-8.
Adding an Enemy base class and an Enemy_Drone derived class to create Drone-specific functionality
Note
Be sure to add the
Enemy_Drone
class as a component to the
Drone
object in the scene. Remember,
you don't need to add the
Enemy
base class as a component, because the functionality of this class is
inherited automatically
by
Enemy_Drone
.