phaser4-rex-plugins
Version:
16 lines (12 loc) • 359 B
JavaScript
import { WaitComplete } from '../../../../utils/promise/WaitEvent.js';
var Start = function (children) {
this.children = children;
this.index = 0;
this.isPageTyping = true;
if (this.onTypeStart) {
this.onTypeStart(children);
}
this.typing();
return WaitComplete(this); // Promise
}
export default Start;