phaser3-rex-plugins-types
Version:
[](https://www.npmjs.com/package/phaser3-rex-plugins-types) [](https://github.com/prettier/prettier) [![B
11 lines (9 loc) • 395 B
TypeScript
declare module 'phaser3-rex-plugins/plugins/utils/input/IsPointerInBounds' {
export type TestFunc = (gameObject: Phaser.GameObjects.GameObject, x: number, y: number) => boolean;
export default function IsPointerInBounds(
gameObject: Phaser.GameObjects.GameObject,
pointer: Phaser.Input.Pointer,
preTest?: TestFunc,
postTest?: TestFunc,
): boolean;
}