convert taking class ot new work system

This commit is contained in:
Olivier Gagnon
2022-07-07 17:28:23 -04:00
parent 24b6eb4d56
commit 647392626e
19 changed files with 563 additions and 388 deletions
+5 -1
View File
@@ -1,5 +1,4 @@
import { IPlayer } from "src/PersonObjects/IPlayer";
import { WorkType } from "src/utils/WorkType";
export abstract class Work {
abstract type: WorkType;
@@ -7,3 +6,8 @@ export abstract class Work {
abstract process(player: IPlayer, cycles: number): boolean;
abstract finish(player: IPlayer, cancelled: boolean): void;
}
export enum WorkType {
CRIME = "CRIME",
CLASS = "CLASS",
}