Skip to content

Commit

Permalink
chore(shared): remove old TrackTypeKey map
Browse files Browse the repository at this point in the history
don't even remember what I was using this for
  • Loading branch information
tsa96 committed Jul 12, 2024
1 parent a5a0ee1 commit 1a3dc1f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions libs/constants/src/enums/track-type.enum.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { MapZones } from '../types/models';

export enum TrackType {
MAIN = 0,
STAGE = 1,
Expand All @@ -8,13 +6,6 @@ export enum TrackType {

export const TrackTypeName: ReadonlyMap<TrackType, string> = new Map([
[TrackType.MAIN, 'Main'],
//[TrackType.STAGE, 'Stage'],
[TrackType.STAGE, 'Stage'],
[TrackType.BONUS, 'Bonus']
]);

export const TrackTypeKey: ReadonlyMap<TrackType, keyof MapZones['tracks']> =
new Map([
[TrackType.MAIN, 'main'],
//[TrackType.STAGE, 'stages'],
[TrackType.BONUS, 'bonuses']
]);

0 comments on commit 1a3dc1f

Please sign in to comment.