Refactored shooting into player class