2019-01-29 20:39:08 +08:00

20 lines
301 B
JavaScript

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