Moving shooting logic to Player class