Add projectile damage
This commit is contained in:
parent
f9f6825776
commit
555be9d602
14 changed files with 111 additions and 40 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue