changed killPlayer to killUnit

killUnit should handle killing both players and enemies