feat: compatible blockly plugin

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-05-11 17:20:50 +08:00
parent 76fd6b8318
commit 53f20a9a8f
4 changed files with 65 additions and 51 deletions

View File

@ -21,6 +21,9 @@ export namespace event {
@injectable()
export abstract class Event {
// export EventPriority to blockly
public EventPriority = EventPriority;
private mapEvent = [];
private listenerMap = [];