Example #1
0
 public void SetAnimation(TODAnimation anim)
 {
     _currentAnimation = anim;
     time    = 0;
     Playing = false;
     FirstFrame(anim);
 }
Example #2
0
 public void Stop()
 {
     _currentAnimation = null;
     CurrentFrame      = 0;
     time    = 0;
     Playing = false;
     resetObjectTable();
 }
Example #3
0
 public void FirstFrame(TODAnimation anim)
 {
     _currentAnimation = anim;
     resetObjectTable();
     processFrame(0);
     Playing = false;
     time    = 0;
 }
Example #4
0
 public void Play(TODAnimation anim)
 {
     _currentAnimation = anim;
     CurrentFrame      = 0;
     time    = 0;
     Playing = true;
     resetObjectTable();
     processFrame(0);
 }