refactor: rankCells

This commit is contained in:
Azgaar 2022-07-10 17:48:02 +03:00
parent 3184a29449
commit d1208b12ec
3 changed files with 74 additions and 34 deletions

4
src/types/pack.d.ts vendored
View file

@ -17,6 +17,8 @@ interface IPack {
s: IntArray;
pop: Float32Array;
fl: UintArray;
conf: UintArray;
r: UintArray;
biome: UintArray;
area: UintArray;
state: UintArray;
@ -24,6 +26,8 @@ interface IPack {
religion: UintArray;
province: UintArray;
burg: UintArray;
haven: UintArray;
harbor: UintArray;
q: d3.Quadtree<number[]>;
};
states: IState[];