Moved attack functions to Player, slow down the player when retreating