Updated projectile code

Have not been able to test it though as my emulator isn't working again.