You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
399 B
22 lines
399 B
package mightypork.utils.eventbus.events.flags;
|
|
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
/**
|
|
* Event that should be queued with given delay (default: 0);
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.TYPE)
|
|
@Inherited
|
|
@Documented
|
|
public @interface DelayedEvent {
|
|
|
|
/**
|
|
* @return event dispatch delay [seconds]
|
|
*/
|
|
double delay() default 0;
|
|
}
|
|
|