diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/util/TrackedCooldown.kt | 8 |
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 |