put bullet shooting logic in player class