mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-05 15:07:23 +02:00
remove getStateLable function from labels.ts
This commit is contained in:
parent
9b4add5071
commit
baeab354b6
2 changed files with 1 additions and 7 deletions
|
|
@ -66,12 +66,6 @@ class LabelsModule {
|
|||
);
|
||||
}
|
||||
|
||||
getStateLabel(stateId: number): StateLabelData | undefined {
|
||||
return pack.labels.find(
|
||||
(l) => l.type === "state" && l.stateId === stateId,
|
||||
) as StateLabelData | undefined;
|
||||
}
|
||||
|
||||
getBurgLabel(burgId: number): BurgLabelData | undefined {
|
||||
return pack.labels.find((l) => l.type === "burg" && l.burgId === burgId) as
|
||||
| BurgLabelData
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue