mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 13:34:06 +09:00
now with watchdogs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package net.torvald.terrarum.modulebasegame
|
||||
|
||||
import net.torvald.terrarum.gameworld.GameWorld
|
||||
|
||||
/**
|
||||
* @param runIntervalByTick how often should the watchdog run. 1: every single tick, 2: every other tick, 60: every second (if tickrate is 60)
|
||||
*
|
||||
* Created by minjaesong on 2025-03-02
|
||||
*/
|
||||
abstract class TerrarumWorldWatchdog(val runIntervalByTick: Int) {
|
||||
abstract operator fun invoke(world: GameWorld)
|
||||
}
|
||||
Reference in New Issue
Block a user