public AnimationHandle RunAnimation(Avatar avatar, Animation animation) { var instance = new AnimationHandle(this); instance.Animation = animation; instance.Avatar = avatar; Animations.Add(instance); return(instance); }
public AnimationHandle RunAnimation(Avatar avatar, Animation animation) { var instance = new AnimationHandle(this); instance.Animation = animation; instance.Avatar = avatar; Animations.Add(instance); return instance; }
public void DisposeAnimation(AnimationHandle animation) { this.Animations.Remove(animation); }