heal timing

This commit is contained in:
ntr
2019-07-05 12:16:01 +10:00
parent 4a863da752
commit 640938827d
3 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -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',
}));
}
+9
View File
@@ -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',
}));
}
}