run onTick() for client

master
jordan4ibanez 2022-09-02 23:33:30 -04:00
parent ef1fce1b0f
commit ec2cb8079f
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@ import Window = engine.window.window;
import Camera = engine.camera.camera;
import SoundManager = engine.openal.sound_manager;
import ThreadLibrary = engine.thread.thread_library;
import PlayerClient = game.client.player_client;
void debugCreateBlockGraphics(){
@ -254,6 +255,8 @@ void main(string[] args) {
receiveChunksFromWorldGenerator();
receiveMeshesFromChunkMeshGenerator();
PlayerClient.onTick();
// Automatically plops the FPS and delta time onto the window title
Window.setTitle((
getVersionTitle() ~ " | FPS: " ~ to!string(Window.getFPS()) ~ " | Delta: " ~ to!string(getDelta()))