2024-03-14 13:26:57 -07:00
|
|
|
import { GameModes, gameModes } from "../game-mode";
|
2023-11-04 16:46:48 -07:00
|
|
|
|
2023-04-28 22:40:24 -07:00
|
|
|
export enum Unlockables {
|
2023-05-31 16:54:57 -07:00
|
|
|
ENDLESS_MODE,
|
2023-11-04 16:46:48 -07:00
|
|
|
MINI_BLACK_HOLE,
|
|
|
|
SPLICED_ENDLESS_MODE
|
2023-04-28 22:40:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
export function getUnlockableName(unlockable: Unlockables) {
|
|
|
|
switch (unlockable) {
|
2023-05-31 16:54:57 -07:00
|
|
|
case Unlockables.ENDLESS_MODE:
|
2024-03-14 13:26:57 -07:00
|
|
|
return `${gameModes[GameModes.ENDLESS].getName()} Mode`;
|
2023-04-28 22:40:24 -07:00
|
|
|
case Unlockables.MINI_BLACK_HOLE:
|
2023-10-18 15:01:15 -07:00
|
|
|
return 'Mini Black Hole';
|
2023-11-04 16:46:48 -07:00
|
|
|
case Unlockables.SPLICED_ENDLESS_MODE:
|
2024-03-14 13:26:57 -07:00
|
|
|
return `${gameModes[GameModes.SPLICED_ENDLESS].getName()} Mode`;
|
2023-04-28 22:40:24 -07:00
|
|
|
}
|
|
|
|
}
|