Add spliced endless mode and splice indicator
This commit is contained in:
1 parent
e07339e3eb
commit
b85bb0916d
16 files changed
+152
-34
No files matched your search
@@ -1,13 +1,18 @@
|
||||
import { GameMode, gameModeNames } from "../game-mode";
|
||||
|
||||
export enum Unlockables {
|
||||
ENDLESS_MODE,
|
||||
MINI_BLACK_HOLE
|
||||
MINI_BLACK_HOLE,
|
||||
SPLICED_ENDLESS_MODE
|
||||
}
|
||||
|
||||
export function getUnlockableName(unlockable: Unlockables) {
|
||||
switch (unlockable) {
|
||||
case Unlockables.ENDLESS_MODE:
|
||||
return 'Endless Mode';
|
||||
return gameModeNames[GameMode.ENDLESS];
|
||||
case Unlockables.MINI_BLACK_HOLE:
|
||||
return 'Mini Black Hole';
|
||||
case Unlockables.SPLICED_ENDLESS_MODE:
|
||||
return gameModeNames[GameMode.SPLICED_ENDLESS];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user