Initial commit

This commit is contained in:
2023-03-18 20:58:14 +01:00
commit 3ccab02cc8
23 changed files with 6684 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import type {Adventurer} from "@/classes/Adventurer";
export class Quest {
id: string;
title: string;
text: string;
adventurers: Array<Adventurer>;
progressPoints: number;
maxProgress: number;
expReward: number;
constructor(id: string, title: string, text: string, maxProgress: number, expReward: number) {
this.id = id;
this.title = title;
this.text = text;
this.maxProgress = maxProgress;
this.expReward = expReward;
this.progressPoints = 0;
this.adventurers = [];
}
}
export function createRandomQuest(budget: number) {
}