Convert crime to new work model

This commit is contained in:
Olivier Gagnon
2022-07-07 02:00:23 -04:00
parent 7d263e4223
commit 3ee7d593d0
12 changed files with 238 additions and 292 deletions
+9
View File
@@ -0,0 +1,9 @@
import { IPlayer } from "src/PersonObjects/IPlayer";
import { WorkType } from "src/utils/WorkType";
export abstract class Work {
abstract type: WorkType;
abstract process(player: IPlayer, cycles: number): boolean;
abstract finish(player: IPlayer, cancelled: boolean): void;
}