adds method for robots to shoot projectiles