added callback on playermove - gets quite delayed after walking for a few seconds
This commit is contained in:
parent
ce0c7ea3eb
commit
8e136cebe8
8 changed files with 104 additions and 44 deletions
|
@ -1,6 +1,7 @@
|
|||
import {HasMovedEvent} from "./GameManager";
|
||||
import {MAX_EXTRAPOLATION_TIME} from "../../Enum/EnvironmentVariable";
|
||||
import {PositionInterface} from "../../Connexion/ConnexionModels";
|
||||
|
||||
import { MAX_EXTRAPOLATION_TIME } from "../../Enum/EnvironmentVariable";
|
||||
import { PositionInterface } from "../../Connexion/ConnexionModels";
|
||||
import { HasMovedEvent } from '../../Api/Events/HasMovedEvent';
|
||||
|
||||
export class PlayerMovement {
|
||||
public constructor(private startPosition: PositionInterface, private startTick: number, private endPosition: HasMovedEvent, private endTick: number) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue