Activatable objects handling WIP
This commit is contained in:
parent
5ae039b987
commit
3af6461c01
5 changed files with 89 additions and 37 deletions
6
front/src/Phaser/Game/ActivatableInterface.ts
Normal file
6
front/src/Phaser/Game/ActivatableInterface.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
export interface ActivatableInterface {
|
||||
readonly activationRadius: number;
|
||||
activate: () => void;
|
||||
getPosition: () => { x: number, y: number };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue