Skip to content

Commit

Permalink
Merge pull request #67 from saertna/Mediator
Browse files Browse the repository at this point in the history
Mediator and Refactoring
  • Loading branch information
saertna authored Feb 15, 2024
2 parents ad03bec + eb475b3 commit 6e2194a
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 242 deletions.
13 changes: 13 additions & 0 deletions src/GamificationMediator.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export interface GamificationMediator {
//updateIncrementStock(increment: string, stock: number): void;

getSettingNumber(key: string):number;
getSettingString(key: string): string;


setSettingString(key: string, value: string): void;
setSettingNumber(key: string, value: number): void;
setSettingBoolean(key: string, value: boolean): void;

acquireIngredients(chance:number, min:number, max:number): void;
}
Loading

0 comments on commit 6e2194a

Please sign in to comment.