Commit 2bfdba48 authored by wjf's avatar wjf

l

parent a9b27a76
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -6526,36 +6526,7 @@ export class Stage extends Container { ...@@ -6526,36 +6526,7 @@ export class Stage extends Container {
destroy(): void; destroy(): void;
} }
export class GDispatcher { export const GDispatcher: EventDispatcher;
/**
* 事件回调池
*/
private static callbackPool;
/**
* 事件作用域池
*/
private static thisObjPool;
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
static addEvent(name: string, callback: any, thisObj?: any): void;
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
static removeEvent(name: string, callback: any, thisObj?: any): void;
/**
* 派发事件
* @param name 事件名
* @param args 任意参数
*/
static dispatchEvent(name: string, ...args: any[]): void;
}
export class Mesh extends Container { export class Mesh extends Container {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment