heal timing
This commit is contained in:
@@ -62,9 +62,9 @@ class Heal extends Component {
|
||||
targets: ['#heal circle'],
|
||||
cx: 150,
|
||||
cy: 200,
|
||||
delay: TIMES.TARGET_DELAY_MS,
|
||||
delay: TIMES.TARGET_DELAY_MS * 2,
|
||||
duration: TIMES.TARGET_DURATION_MS,
|
||||
easing: 'easeInOutSine',
|
||||
easing: 'easeOutCirc',
|
||||
direction: 'reverse',
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -57,6 +57,15 @@ class Triage extends Component {
|
||||
],
|
||||
easing: 'easeInOutSine',
|
||||
}));
|
||||
|
||||
this.animations.push(anime({
|
||||
targets: ['#triageTick circle'],
|
||||
cx: 150,
|
||||
cy: 200,
|
||||
duration: TIMES.TARGET_DURATION_MS,
|
||||
easing: 'easeInOutElastic',
|
||||
direction: 'reverse',
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user