Add projectile damage

This commit is contained in:
schmelczerandras 2020-10-12 21:46:23 +02:00
parent f9f6825776
commit 555be9d602
14 changed files with 111 additions and 40 deletions

View file

@ -95,7 +95,7 @@ const handlePhysics = () => {
}
objects.stepObjects(delta);
players.forEach((p) => p.sendObjects());
players.forEach((p) => p.step(delta));
const physicsDelta = deltaTimeCalculator.getDeltaTimeInMilliseconds();
deltas.push(physicsDelta);