2019-11-04 21:32:40 +08:00

19 lines
278 B
JavaScript

var ID = -1;
/**
* 事件基类
* @author tengge / https://github.com/tengge1
*/
function BaseEvent() {
this.id = `${this.constructor.name}${ID--}`;
}
BaseEvent.prototype.start = function () {
};
BaseEvent.prototype.stop = function () {
};
export default BaseEvent;