Open-source multiplayer game server compatible with the RuneScape client https://www.openrs2.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
openrs2/game/src/main/kotlin/org/openrs2/game/GameService.kt

16 lines
432 B

package org.openrs2.game
import com.google.common.util.concurrent.AbstractScheduledService
import jakarta.inject.Singleton
import java.util.concurrent.TimeUnit
@Singleton
public class GameService : AbstractScheduledService() {
override fun runOneIteration() {
// TODO(gpe): implement
}
override fun scheduler(): Scheduler {
return Scheduler.newFixedRateSchedule(0, 600, TimeUnit.MILLISECONDS)
}
}