change enemy state from idle to patrolling