Hello Rune-Server,
New thing:
I am currently writing a server control panel for myself. I need to update that like every second, so i can see the players online and check for some other things, what would be the best way to update the view every one second?
Old:
i started to play around with Prof. Oaks Elvarg base. I am used to process() being called every tick, so you could update interfaces and such. But how does Elvarg handle that? I couldnt find anything besides:
Code:
executorService.scheduleAtFixedRate(this, 0, GameConstants.GAME_ENGINE_PROCESSING_CYCLE_RATE,
TimeUnit.MILLISECONDS);
I assume that this starts the engine ticking. But how can i execute for example myInterface.refresh(); every game tick?