cleanup
This commit is contained in:
parent
8b8c24f6ef
commit
099d573296
7 changed files with 12 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
import type { OutlineableInterface } from '../Phaser/Game/OutlineableInterface';
|
||||
|
||||
export function isOutlineable(object: unknown): object is OutlineableInterface {
|
||||
return (object as unknown as OutlineableInterface)?.getObjectToOutline() !== undefined;
|
||||
}
|
||||
return (object as OutlineableInterface)?.pointerOverOutline !== undefined;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue