Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine)
This commit is contained in:
parent
077b29bfbd
commit
d69ce8a6a6
9 changed files with 144 additions and 2 deletions
7
front/src/Phaser/Game/PlayersPositionInterpolator.ts
Normal file
7
front/src/Phaser/Game/PlayersPositionInterpolator.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* This class is in charge of computing the position of all players.
|
||||
* Player movement is delayed by 200ms so position depends on ticks.
|
||||
*/
|
||||
export class PlayersPositionInterpolator {
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue