Exemple #1
0
 private void OnBuffStarted(ulong duration, Data.CooldownMode mode)
 {
     _anim.Duration = TimeSpan.FromMilliseconds(duration);
     ExternalArc.BeginAnimation(Arc.EndAngleProperty, _anim);
 }
Exemple #2
0
 private void OnBuffEnded(Data.CooldownMode obj)
 {
     ExternalArc.BeginAnimation(Arc.EndAngleProperty, null);
     ExternalArc.EndAngle = 0;
 }
Exemple #3
0
 private void OnRagnarokStarted(ulong duration, Data.CooldownMode mode)
 {
     _rag.Duration = TimeSpan.FromMilliseconds(duration);
     RagArc.BeginAnimation(Arc.EndAngleProperty, _rag);
 }
Exemple #4
0
 private void OnBuffStarted(Data.CooldownMode obj)
 {
     _anim.Duration = TimeSpan.FromMilliseconds(_context.Buff.Duration);
     ExternalArc.BeginAnimation(Arc.EndAngleProperty, _anim);
 }
 private void OnRagnarokStarted(Data.CooldownMode obj)
 {
     _rag.Duration = TimeSpan.FromMilliseconds(_dc.Ragnarok.Buff.OriginalDuration);
     RagArc.BeginAnimation(Arc.EndAngleProperty, _rag);
 }