public void AddSpriteMap(string givenAnimation, Color givenColor) { SpriteMap tempSpriteMap = TextureController.GetSpriteMap(givenAnimation, givenColor); if (m_animationList.ContainsKey(tempSpriteMap.GetName())) { m_animationList[tempSpriteMap.GetName()].AddAnimation(tempSpriteMap.GetAnimations()); } else { m_animationList.Add(tempSpriteMap.GetName(), tempSpriteMap); } }