JaBa/base/BaseEvent.js

14 lines
196 B
JavaScript
Raw Normal View History

class BaseEvent {
constructor(options) {
/**
* @type {String}
*/
this.name = options.name;
/**
* @type {Boolean}
*/
this.once = options.once;
}
}
module.exports = BaseEvent;