Beispiel #1
0
 public AMTPackage()
 {
     Animation = new AMTAnimation();
     CurrentResource = null;
     Resources = new List<string>();
     PackageState = AMTUtil.State.EMPTY;
 }
Beispiel #2
0
 public AMTPackage()
 {
     Animation       = new AMTAnimation();
     CurrentResource = null;
     Resources       = new List <KeyValuePair <string, string> >();
     PackageState    = AMTUtil.State.EMPTY;
 }
Beispiel #3
0
 private void InitManifest()
 {
     Animation = new AMTAnimation();
     Animation.Manifest.AssetName = "asset.gif";
     Animation.Manifest.ActionFileName.Add("null.act");
     Animation.Actions.Add(new AMTAction());
     Animation.Actions[0].Name = "null";
     Animation.Actions[0].Frames.Add(new AMTFrame());
     Animation.Actions[0].Frames[0].Delay = 100;
     Animation.Actions[0].Frames[0].FrameRef = 0;
     Animation.Actions[0].Frames[0].Tags.Add("null");
     Animation.Actions[0].Frames[0].Tags.Add("single");
     Animation.Actions[0].Frames[0].MD5 = ImageMD5(ConvertBytesToImage(Frames[0]));
     //First Time Save
     Save();
     PopulateUI();
 }
Beispiel #4
0
 private void InitData()
 {
     Animation = null;
 }