pub(crate) fn new(anim_id: String, animation: Animation) -> Self {
        let mut result = HashMap::with_capacity(1);
        result.insert(anim_id, AnimatorState::new(animation));
        Self(result)
    }
/// Initialize a new [`AnimatorStates`] that contains a single animation
Initialize a new [`AnimatorStates`] that contains a single animation
Initialize a new [ ` AnimatorStates ` ] that contains a single animation
pub(crate) fn new(anim_id: String, animation: Animation) -> Self {
        let mut result = HashMap::with_capacity(1);
        result.insert(anim_id, AnimatorState::new(animation));
        Self(result)
    }
pub ( crate ) fn new ( anim_id : String , animation : Animation ) -> Self { let mut result = HashMap :: with_capacity ( 1 ) ; result . insert ( anim_id , AnimatorState :: new ( animation ) ) ; Self ( result ) }
Initialize a new [`AnimatorStates`] that contains a single animation
Initialize a new [ ` AnimatorStates ` ] that contains a single animation
anim_id
String
animation
Animation
anim_id
String
animation
Animation