Updated the 'AnimationState' class by setting the data type of 'messageReceived' from 'Map' to 'Set'.