diff options
author | Frans Bongers <fransbongers@macbookpro.home> | 2025-03-19 21:55:43 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@macbookpro.home> | 2025-03-19 21:56:01 +0100 |
commit | 0fae284f79b1c934e58214cf5f88cad4cab6b03b (patch) | |
tree | 779e447a18042132e40036f40fc5d0af6622954a /data.ts | |
parent | 19d48663a25cf6f9a93e8710f6896a2b43971fcd (diff) | |
download | land-and-freedom-0fae284f79b1c934e58214cf5f88cad4cab6b03b.tar.gz |
refactor: FrontId to number
Diffstat (limited to 'data.ts')
-rw-r--r-- | data.ts | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -17,10 +17,10 @@ const PLAYER_WITH_MOST_HERO_POINTS = 0; const INITIATIVE_PLAYER = 'i'; const ALL_PLAYERS = 'all'; -const ARAGON = 'a'; -const MADRID = 'm'; -const NORTHERN = 'n'; -const SOUTHERN = 's'; +const ARAGON = 0; +const MADRID = 1; +const NORTHERN = 2; +const SOUTHERN = 3; const CLOSEST_TO_DEFEAT = 'd'; const CLOSEST_TO_VICTORY = 'v'; const FRONTS: FrontId[] = [ARAGON, MADRID, NORTHERN, SOUTHERN]; @@ -1804,12 +1804,6 @@ const data: StaticData = { ], fronts: [ { - id: NORTHERN, - name: 'Northern', - left: 89, - top: 96, - }, - { id: ARAGON, name: 'Aragon', left: 340, @@ -1822,6 +1816,12 @@ const data: StaticData = { top: 262, }, { + id: NORTHERN, + name: 'Northern', + left: 89, + top: 96, + }, + { id: SOUTHERN, name: 'Southern', left: 205, |