/*
* This simple function calculates the fire power to use (from 0.1 to 3)
* based on the distance from the target. We will investigate the data structure
* holding the target data later.
*/
void doFirePower() {
firePower = 400/target.distance; //selects a bullet power based on our distance away from the target
}