run onTick() for client
parent
ef1fce1b0f
commit
ec2cb8079f
|
@ -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()))
|
||||
|
|
Loading…
Reference in New Issue