diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-28 14:33:31 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-28 14:33:31 +0700 |
commit | f5cd94bdac8c20e61bc6d7e898618ebf7ea2dc66 (patch) | |
tree | 967a96344046a0bf4e73cf041fc2b2d22aef4568 /src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java | |
parent | 01e4c0dfb2a9726a9bf1c4d1a1fe28edbc3d094c (diff) | |
download | OneConfig-f5cd94bdac8c20e61bc6d7e898618ebf7ea2dc66.tar.gz OneConfig-f5cd94bdac8c20e61bc6d7e898618ebf7ea2dc66.tar.bz2 OneConfig-f5cd94bdac8c20e61bc6d7e898618ebf7ea2dc66.zip |
javadocs for events + TimerUpdateEvent
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/events/event/RenderEvent.java | 10 |
1 files changed, 10 insertions, 0 deletions
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) { |