_Str_20330 -> processRoomCanvasMouseEvent

This commit is contained in:
Dank074 2021-05-08 17:00:08 -05:00
parent 9afbb9dba6
commit 6e1c16ce06
3 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ export class RoomObjectEventHandler extends Disposable implements IRoomCanvasMou
}
}
public _Str_20330(event: RoomSpriteMouseEvent, object: IRoomObject, geometry: IRoomGeometry): void
public processRoomCanvasMouseEvent(event: RoomSpriteMouseEvent, object: IRoomObject, geometry: IRoomGeometry): void
{
if(!event || !object) return;

View File

@ -4,5 +4,5 @@ import { IRoomGeometry } from '../utils/IRoomGeometry';
export interface IRoomCanvasMouseListener
{
_Str_20330(event: RoomSpriteMouseEvent, object: IRoomObject, geometry: IRoomGeometry): void
processRoomCanvasMouseEvent(event: RoomSpriteMouseEvent, object: IRoomObject, geometry: IRoomGeometry): void
}

View File

@ -961,7 +961,7 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
if(this._mouseListener)
{
this._mouseListener._Str_20330(event, roomObject, this._geometry);
this._mouseListener.processRoomCanvasMouseEvent(event, roomObject, this._geometry);
}
else
{