Tim Van Baak
eaafdeb5a9
Eliminate sources of Unit reference equality
2024-08-16 20:13:15 +00:00
Tim Van Baak
889e9d173b
Reduce MoveOrder.Location to string
2024-08-15 22:01:38 -07:00
Tim Van Baak
f21b1e500c
Eliminate MoveOrder.Province
2024-08-15 21:48:41 -07:00
Tim Van Baak
25d903d91a
Refactor Season into a value struct
...
This keeps the rich features of a Season type without requiring constant string parsing (as much) or going through World to do lookups to get the objects. Since seasons now have value equality instead of reference equality, it's easier to get access to whem when needed. They're still, fundamentally, sugar over a tuple.
2024-08-15 13:51:41 -07:00
Tim Van Baak
abbe929122
Designation -> Key
2024-08-15 06:52:08 -07:00
Tim Van Baak
601ce2d297
HoldStrength uses season string
2024-08-14 22:40:40 -07:00
Tim Van Baak
64f48064fc
AdvanceTimeline key to string
2024-08-14 22:32:48 -07:00
Tim Van Baak
9185534f70
Reduce MoveOrder.Season to string
2024-08-14 22:28:56 -07:00
Tim Van Baak
885628900b
Remove Location reference from Unit
2024-08-14 09:06:05 -07:00
Tim Van Baak
e1772ce60b
Refactor away Unit.Province
2024-08-14 09:06:05 -07:00
Tim Van Baak
2f4c8b2a38
Store order history by timeline designation instead of reference
2024-08-14 09:06:04 -07:00
Jaculabilis
069cb4c548
Prevent orders from being double counted if they affect multiple seasons
2022-11-08 18:55:27 -08:00
Jaculabilis
39c3aabe45
Implement AdvanceTimeline resolution
2022-11-08 16:25:47 -08:00
Jaculabilis
a565ee1b05
Add better ToString overrides to decision classes
2022-11-06 21:58:21 -08:00
Jaculabilis
18c11c7ffd
Add an AdvanceTimeline decision type
2022-11-06 14:39:01 -08:00
Jaculabilis
d491ea9f64
Fix missing temporal dimension to dislodge checks
2022-03-30 13:00:51 -07:00
Jaculabilis
9f5ecaa16a
Add province shortcuts to decrease verbosity
2022-03-30 12:52:57 -07:00
Jaculabilis
6948db29df
Save previous orders so time travel can re-adjudicate them
2022-03-29 20:40:19 -07:00
Jaculabilis
aa9c9c548b
Enable hold strength across parallel worlds
2022-03-28 17:41:38 -07:00
Jaculabilis
ff64b459ca
Reduce verbosity of test case assertions
2022-03-28 15:05:04 -07:00
Jaculabilis
b026adbfbc
Add some basic unit tests for the movement adjudicator
2022-03-27 15:10:34 -07:00
Jaculabilis
6b1b9dce10
Refactor adjudication into separate adjudication and update steps
...
This makes it easier to unit test adjudication decisions directly.
2022-03-27 14:39:00 -07:00
Jaculabilis
36ea621782
Move decision classes out of the movement adjudicator
2022-03-24 09:22:13 -07:00