function define(name, defFunc, cancellable) {
            definedEvents.set(name, {
                "cancellable": cancellable,
                "default": defFunc,
                "register": []
            });
        }
Create Event Object
@param {string} name The Name of the event
@param {function} defFunc The default method of the event
@param {boolean} cancellable Is the default cancellable
@returns {undefined}