pokerogue/src/system/unlockables.ts

18 lines
502 B
TypeScript

import { GameMode, gameModeNames } from "../game-mode";
export enum Unlockables {
ENDLESS_MODE,
MINI_BLACK_HOLE,
SPLICED_ENDLESS_MODE
}
export function getUnlockableName(unlockable: Unlockables) {
switch (unlockable) {
case Unlockables.ENDLESS_MODE:
return `${gameModeNames[GameMode.ENDLESS]} Mode`;
case Unlockables.MINI_BLACK_HOLE:
return 'Mini Black Hole';
case Unlockables.SPLICED_ENDLESS_MODE:
return `${gameModeNames[GameMode.SPLICED_ENDLESS]} Mode`;
}
}