isCrossfading and getTimeBeforeCrossfadingEnd are now private methods