2023-11-04 19:46:48 -04:00
|
|
|
import { GameMode, gameModeNames } from "../game-mode";
|
|
|
|
|
2023-04-29 01:40:24 -04:00
|
|
|
export enum Unlockables {
|
2023-05-31 19:54:57 -04:00
|
|
|
ENDLESS_MODE,
|
2023-11-04 19:46:48 -04:00
|
|
|
MINI_BLACK_HOLE,
|
|
|
|
SPLICED_ENDLESS_MODE
|
2023-04-29 01:40:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export function getUnlockableName(unlockable: Unlockables) {
|
|
|
|
switch (unlockable) {
|
2023-05-31 19:54:57 -04:00
|
|
|
case Unlockables.ENDLESS_MODE:
|
2023-11-14 23:52:58 -05:00
|
|
|
return `${gameModeNames[GameMode.ENDLESS]} Mode`;
|
2023-04-29 01:40:24 -04:00
|
|
|
case Unlockables.MINI_BLACK_HOLE:
|
2023-10-18 18:01:15 -04:00
|
|
|
return 'Mini Black Hole';
|
2023-11-04 19:46:48 -04:00
|
|
|
case Unlockables.SPLICED_ENDLESS_MODE:
|
2023-11-14 23:52:58 -05:00
|
|
|
return `${gameModeNames[GameMode.SPLICED_ENDLESS]} Mode`;
|
2023-04-29 01:40:24 -04:00
|
|
|
}
|
|
|
|
}
|