api: add on tick callback

This commit is contained in:
Adam
2021-10-28 18:44:42 -04:00
parent cefb80a37b
commit a96a6a5a40
2 changed files with 14 additions and 5 deletions

View File

@@ -53,9 +53,14 @@ public interface Callbacks
void postDeferred(Object event);
/**
* Called each client cycle.
* Called each tick
*/
void clientMainLoop();
void tick();
/**
* Called each frame
*/
void frame();
/**
* Called after receiving update NPCs packet from server.