Construct Enemy AI Step 3

1. correct the algrithm of judging the end of displacement and rotation
movements.
2. refactor the notification mechanism of States.
3. construct LeaveState.