Change how ticking works

This commit is contained in:
2026-09-25 16:13:38 -03:00
parent 213363d0be
commit 5fb23cf404
9 changed files with 169 additions and 92 deletions
+3 -2
View File
@@ -123,9 +123,10 @@ export class ClientLevel {
this.entities.delete(id);
}
tick(delta: number) {
tick() {
for (const entity of this.entities.values()) {
entity.tick(delta);
entity.save_previous_position();
entity.tick();
}
}