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(); }
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; }