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 eaee2f9c91
commit e68c17576a
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 = [];