Added new parameter to changeAnimation(); exposing previousAnimation as a getter.

If true, the onlyIfDifferent parameter cancels the changeAnimation when the chosen animation is already playing.

Also allowing read-only public access to _previousAnimation, in case developers want to execute other logic based on which sequence is currently playing.