Basic reveal mechanic
This commit is contained in:
parent
7e634917bf
commit
4639c22025
8 changed files with 71 additions and 8 deletions
7
src/area.ts
Normal file
7
src/area.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
export const revealedArea$ = new BehaviorSubject<{ x: number; y: number; w: number }>({
|
||||
x: 0,
|
||||
y: 0,
|
||||
w: 0,
|
||||
});
|
||||
Reference in a new issue