Changed projectiles to use prototypes; moved detectCollision to door; fixed bug where 5 projectiles are spawned for every 1