2019-06-28 07:49:06 +08:00

19 lines
281 B
JavaScript

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