aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
new file mode 100644
index 000000000..d8290703d
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
@@ -0,0 +1,5 @@
+package at.hannibal2.skyhanni.events
+
+class SecondPassedEvent(private val totalSeconds: Int) : LorenzEvent() {
+ fun repeatSeconds(i: Int) = i % totalSeconds
+}