示例#1
0
		public Animation Play(CoreAnimation coreAnimation)
		{
			Stop(coreAnimation);
			var anim = new Animation(coreAnimation);
			animations.Add(anim);
			return anim;
		}
示例#2
0
		public Animation(CoreAnimation coreAnimation)
		{
			this.coreAnimation = coreAnimation;
		}
示例#3
0
		public Animation Animation(CoreAnimation coreAnimation)
		{
			return animations.Find(x => x.CoreAnimation == coreAnimation);
		}
示例#4
0
		public void Stop(CoreAnimation coreAnimation)
		{
			animations.RemoveAll(x => x.CoreAnimation == coreAnimation);
		}