Esempio n. 1
0
 public AMTActionPlayer(AMTPackage Pak, AMTAction Act)
 {
     this.Package = Pak;
     this.Action = AMTUtil.ExpandFrame(Pak.Animation, Act);
     this.CurrentFrame = 0;
     this.LoopTimes = 0;
     this.RandomGenerator = new Random();
 }
Esempio n. 2
0
 public ActionPreview(AMTPackage Package, AMTAction Action)
 {
     InitializeComponent();
     PreviewPackage = Package;
     PreviewAction = Action;
     ExpandedActionPlayer = new AMTActionPlayer(Package, Action);
     this.Text = this.Text + " " + Action.Name;
     PlayTimer.Enabled = true;
 }