public AnimationMap(Dictionary<string, AnimationState> states, SpriteSheet spriteSheet, string initState)
            : base()
        {
            States = states;
            SpriteSheet = spriteSheet;
            AddUpdater(MainUpdate);

            SetState(initState);
        }
 public AnimationMap(List<AnimationState> states, SpriteSheet spriteSheet, string initState)
     : this(states.ToDictionary(s => s.Name, s => s), spriteSheet, initState)
 {
 }