implement autofire for player