public void Update(KAnim.Element element, AnimHashTable animHashes) { var name = element.FindName(animHashes); if (!ContainsKey(name)) { this[name] = 0; } else { this[name] += 1; } }
public SpriterObjectName FindObjectName(KAnim.Element element, AnimHashTable animHashes) { var name = element.FindName(animHashes); return(name.ToSpriterObjectName(this[name])); }