Working on refactor
This commit is contained in:
parent
bf8d99d92e
commit
2486f57e2b
4 changed files with 275 additions and 251 deletions
19
scripts/enums.ts
Normal file
19
scripts/enums.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export interface player {
|
||||
name: string;
|
||||
race: string;
|
||||
class: string;
|
||||
weapon: weapon;
|
||||
nuts: number;
|
||||
level: number;
|
||||
staminaMax: number;
|
||||
stamina: number;
|
||||
dm: boolean;
|
||||
dm_points: number;
|
||||
}
|
||||
|
||||
export interface weapon {
|
||||
weaponName: string;
|
||||
attackStat: number;
|
||||
defenseStat: number;
|
||||
secondStat: number;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue