Added enemy attack state and better tracking of the player
added enemy attack state so that the enemy only go's to the player when the player is close and it tries to attack the player
added enemy attack state so that the enemy only go's to the player when the player is close and it tries to attack the player