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,40 @@
import { IVector3D } from '@nitrots/api';
import { RoomObjectUpdateMessage } from './RoomObjectUpdateMessage';
export class ObjectTileCursorUpdateMessage extends RoomObjectUpdateMessage
{
private _height: number;
private _sourceEventId: string;
private _visible: boolean;
private _toggleVisibility: boolean;
constructor(k: IVector3D, height: number, visible: boolean, sourceEventId: string, toggleVisibility: boolean = false)
{
super(k, null);
this._height = height;
this._visible = visible;
this._sourceEventId = sourceEventId;
this._toggleVisibility = toggleVisibility;
}
public get height(): number
{
return this._height;
}
public get visible(): boolean
{
return this._visible;
}
public get sourceEventId(): string
{
return this._sourceEventId;
}
public get toggleVisibility(): boolean
{
return this._toggleVisibility;
}
}