added polymorphism to projectiles