nitro-renderer/packages/room/src/messages/ObjectHeightUpdateMessage.ts

20 lines
446 B
TypeScript
Raw Normal View History

2024-03-19 21:53:17 -04:00
import { IVector3D } from '@nitrots/api';
import { RoomObjectUpdateMessage } from './RoomObjectUpdateMessage';
2021-03-16 22:02:09 -04:00
export class ObjectHeightUpdateMessage extends RoomObjectUpdateMessage
{
private _height: number;
constructor(location: IVector3D, direction: IVector3D, height: number)
{
super(location, direction);
this._height = height;
}
public get height(): number
{
return this._height;
}
2022-10-30 02:08:37 -04:00
}