Use an enum for specifying play modes for animations.