different approach

This commit is contained in:
Hanusiak Piotr
2022-01-27 14:05:30 +01:00
parent 2781b72799
commit 68c4a5f5ce
5 changed files with 97 additions and 90 deletions
@@ -1,6 +1,11 @@
import type { OutlineConfig } from '../../Utils/OutlineManager';
export interface OutlineableInterface {
getObjectToOutline: () => Phaser.GameObjects.GameObject;
getOutlineConfig: () => OutlineConfig;
setFollowOutlineColor(color: number): void
removeFollowOutlineColor(): void
setApiOutlineColor(color: number): void
removeApiOutlineColor(): void
pointerOverOutline(): void
pointerOutOutline(): void
characterCloseByOutline(): void
characterFarAwayOutline(): void
}