Files
Nitro_Render_V3/packages/room/src/messages/RoomObjectUpdateMessage.ts
T
2024-04-03 09:27:56 +02:00

24 lines
461 B
TypeScript

import { IVector3D } from '@nitrots/api';
export class RoomObjectUpdateMessage
{
private _location: IVector3D;
private _direction: IVector3D;
constructor(location: IVector3D, direction: IVector3D)
{
this._location = location;
this._direction = direction;
}
public get location(): IVector3D
{
return this._location;
}
public get direction(): IVector3D
{
return this._direction;
}
}