public AnimationStorage(List<Animation> f) { this.asl = new AnimationStorageListener(this); if (f != null) { playAnimations = f; } else { playAnimations = new List<Animation>( CollectionUtils.INITIAL_CAPACITY); } foreach (Animation a in playAnimations) { if (a != null) { a.Listener = asl; } } this.size = playAnimations.Count; this.loopOverToPlay = true; this.loopOverToRemove = false; }
public AnimationStorage(List <Animation> f) { this.asl = new AnimationStorageListener(this); if (f != null) { playAnimations = f; } else { playAnimations = new List <Animation>( CollectionUtils.INITIAL_CAPACITY); } foreach (Animation a in playAnimations) { if (a != null) { a.Listener = asl; } } this.size = playAnimations.Count; this.loopOverToPlay = true; this.loopOverToRemove = false; }