From f5cd94bdac8c20e61bc6d7e898618ebf7ea2dc66 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 28 May 2022 14:33:31 +0700 Subject: javadocs for events + TimerUpdateEvent --- .../java/cc/polyfrost/oneconfig/events/event/RenderEvent.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java b/src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java index aa305a1..5f3be47 100644 --- a/src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java +++ b/src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java @@ -1,7 +1,17 @@ package cc.polyfrost.oneconfig.events.event; +/** + * Called when a game tick is started / ended, represented by a {@link Stage} + */ public class RenderEvent { + /** + * Whether the tick is starting or ending. + */ public final Stage stage; + + /** + * How much time has elapsed since the last tick, in ticks. Used for animations. + */ public final float deltaTicks; public RenderEvent(Stage stage, float deltaTicks) { -- cgit