aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/event/TickEvent.java
blob: 9ddae98c49340d6fd02d44623de56dd349a4637e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cc.polyfrost.oneconfig.events.event;

/**
 * Called when a game tick is started / ended, represented by a {@link Stage}
 */
public class TickEvent {
    /**
     * Whether the tick is starting or ending.
     */
    public final Stage stage;

    public TickEvent(Stage stage) {
        this.stage = stage;
    }
}