Пример #1
0
        private void Reset()
        {
            animation = new Animation[64];
            for (int i = 0; i < animation.Length; i++)
                animation[i] = new Animation();
            frame = new Frame[512];
            for (int i = 0; i < frame.Length; i++)
                frame[i] = new Frame();

            Path = "char";
        }
Пример #2
0
 public void SetAnimation(int idx, Animation _animation)
 {
     animation[idx] = _animation;
 }