mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
_Str_20330 -> processRoomCanvasMouseEvent
This commit is contained in:
parent
9afbb9dba6
commit
6e1c16ce06
@ -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;
|
||||
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user