aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt b/src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt
new file mode 100644
index 0000000..9aa93d7
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt
@@ -0,0 +1,8 @@
+package com.dulkirfabric.util
+
+// Currently, this will be used to create A list of items that have audible sounds associated with their usages
+data class TrackedCooldown (
+ val itemID: Regex,
+ val cooldownDuration: Int, // in millis
+ var lastUsage: Long, // from System.currentTimeMillis
+) \ No newline at end of file