Esempio n. 1
0
        public void Update(KAnim.Element element, AnimHashTable animHashes)
        {
            var name = element.FindName(animHashes);

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

            return(name.ToSpriterObjectName(this[name]));
        }