net.badbird5907.lightning.event.Cancellable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Lightning Show documentation
Show all versions of Lightning Show documentation
A lightning fast and lightweight event bus
The newest version!
package net.badbird5907.lightning.event;
public interface Cancellable {
boolean isCancelled();
void setCancelled(boolean cancelled);
class DefaultCancellable implements Cancellable {
private boolean cancelled = false;
@Override
public boolean isCancelled() {
return cancelled;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy