mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
refactor: hotkeys
This commit is contained in:
parent
a15f60150f
commit
0dd7468184
9 changed files with 220 additions and 165 deletions
7
src/types/pack.d.ts
vendored
7
src/types/pack.d.ts
vendored
|
|
@ -1,9 +1,12 @@
|
|||
import {Numeric} from "d3";
|
||||
|
||||
interface IPack {
|
||||
vertices: {
|
||||
p: TPoints;
|
||||
v: number[][];
|
||||
c: number[][];
|
||||
};
|
||||
features: IFeature[];
|
||||
cells: {
|
||||
i: IntArray;
|
||||
p: TPoints;
|
||||
|
|
@ -23,6 +26,10 @@ interface IPack {
|
|||
religions: IReligion[];
|
||||
}
|
||||
|
||||
interface IFeature {
|
||||
i: Numeric;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
i: number;
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue