Extending Projectile Factory
v1.0
Last updated
Was this helpful?
v1.0
Last updated
Was this helpful?
Extending the classes provides immense power and customization for your project. In this section I'll walk through a few areas where you may choose to create new methods to extend the , or add functionality specifically for your project.
The most straight forward way to extend Projectile Factory is to . Derive your class from ProjectileBehavior
or from one of the existing Behavior classes you'd like to modify. All methods are virtual
, so you can override
them with custom logic unique to your game.
For with multiple spawn points, creating a custom is a powerful way to enable specfic spawn logic as unique as your objects.
Creating custom allow any object tap into the life-cycle events on Projectiles, and perform custom logic.