For attacking the player
Attacking enemy
Gets input from player