Added boolean active to Entity.
Only active projectiles are updated and rendered.
Projectiles now have a duration.