UNPKG

phaser3-rex-plugins-types

Version:

[![npm](https://img.shields.io/npm/v/phaser3-rex-plugins-types.svg)](https://www.npmjs.com/package/phaser3-rex-plugins-types) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![B

11 lines (9 loc) 395 B
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; }