示例#1
0
文件: Game1.cs 项目: eriksk/OGAni
 public void SelectAni(Animation ani)
 {
     selectedAnimation = animations.animations.IndexOf(ani);
 }
示例#2
0
文件: Game1.cs 项目: eriksk/OGAni
 public Animation NewAni()
 {
     Animation a = new Animation();
     animations.animations.Add(a);
     return a;
 }
示例#3
0
文件: Game1.cs 项目: eriksk/OGAni
 public KeyFrame NewKeyFrame(Animation ani, Frame frame)
 {
     KeyFrame kf = new KeyFrame(frame, 300, new string[]{"#add script"});
     ani.KeyFrames.Add(kf);
     return kf;
 }