Commit Graph

15 Commits

Author SHA1 Message Date
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
2e6e6c55b8 Reduce Order.Power to string 2024-08-15 07:30:43 -07:00
abbe929122 Designation -> Key 2024-08-15 06:52:08 -07:00
9185534f70 Reduce MoveOrder.Season to string 2024-08-14 22:28:56 -07:00
2484d4f0fd Get world serialization round trip kinda working 2024-08-14 21:12:58 -07:00
e1772ce60b Refactor away Unit.Province 2024-08-14 09:06:05 -07:00
46c28a087c Shorten string representations
The new format for representing timeline, province, and season is T-PRO@S. Hopefully this is easier to read than the PRO T:S format.
2022-11-06 20:27:28 -08:00
105c372779 Add ToString overrides for orders 2022-04-07 15:58:17 -07:00
d491ea9f64 Fix missing temporal dimension to dislodge checks 2022-03-30 13:00:51 -07:00
9f5ecaa16a Add province shortcuts to decrease verbosity 2022-03-30 12:52:57 -07:00
aa9c9c548b Enable hold strength across parallel worlds 2022-03-28 17:41:38 -07:00
d2ec79647a Add movement phase order adjudication
This implementation does not handle convoys nor account for circular movement and convoy paradoxes.
2022-03-24 08:18:33 -07:00
be3f6a527f Refactor Support*Order to inherit from abstract SupportOrder 2022-03-22 12:57:01 -07:00
3ad0dbc086 Add order types 2022-03-10 17:34:13 -08:00
c4f5145320 Add order model and adjudicator framework 2022-02-18 17:17:17 -08:00