Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,33 @@
import { IVector3D } from '@nitrots/api';
import { ObjectMoveUpdateMessage } from './ObjectMoveUpdateMessage';
export class ObjectAvatarUpdateMessage extends ObjectMoveUpdateMessage
{
private _headDirection: number;
private _canStandUp: boolean;
private _baseY: number;
constructor(location: IVector3D, targetLocation: IVector3D, direction: IVector3D, headDirection: number, canStandUp: boolean, baseY: number)
{
super(location, targetLocation, direction);
this._headDirection = headDirection;
this._canStandUp = canStandUp;
this._baseY = baseY;
}
public get headDirection(): number
{
return this._headDirection;
}
public get canStandUp(): boolean
{
return this._canStandUp;
}
public get baseY(): number
{
return this._baseY;
}
}