refactor: use subclasses for different item types
This commit is contained in:
parent
be616e3be8
commit
8d2cff77d7
47 changed files with 766 additions and 456 deletions
11
src/item/armor/armor.ts
Normal file
11
src/item/armor/armor.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// SPDX-FileCopyrightText: 2022 Johannes Loher
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { DS4Item } from "../item";
|
||||
|
||||
export class DS4Armor extends DS4Item {}
|
||||
|
||||
export interface DS4Armor {
|
||||
data: foundry.data.ItemData & { type: "armor"; _source: { type: "armor" } };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue