Scrapjack-Studios/slayer

spawn_projectile() shouldn't be handling weapon types

Closed this issue · 0 comments

That should be the job of fire(). All spawn_projectile() should be doing is spawning a single projectile with the specified position, rotation, damage, lifetime, size, and speed. I also think the start_at() function should be integrated into spawn_projectile(), because with this change, it would just be code duplication.