diff options
| author | Szymon Szukalski <szymon@skas.io> | 2024-10-24 21:10:57 +1100 |
|---|---|---|
| committer | Szymon Szukalski <szymon@skas.io> | 2024-10-24 21:10:57 +1100 |
| commit | 9bc26146397acb5a216e20d5eb55bb2a582fdd3e (patch) | |
| tree | 4c02f13ca30e673417870114050f7a3d653ad47d /data/actions.txt | |
| parent | 55475178a8c0e610103e37027cc0a7a387d72f91 (diff) | |
Implement key data model
- Added classes for Person, Gender, Family, FamilyTree
- Replaced FamilyTreeManager with FamilyTree
- Add FamilyFactory for seeding the initial FamilyTree for King Arthur and Queen Margaret
- Added a RelationshipManager for linking spouses correctly
- Refactored ActionFileExecutor for readability
- More test coverage
Diffstat (limited to 'data/actions.txt')
| -rw-r--r-- | data/actions.txt | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/data/actions.txt b/data/actions.txt index f7e1ff0..8988068 100644 --- a/data/actions.txt +++ b/data/actions.txt @@ -1,3 +1,35 @@ -ADD_CHILD Flora Minerva Female -GET_RELATIONSHIP Remus Maternal-Aunt -GET_RELATIONSHIP Minerva Siblings
\ No newline at end of file +GET_RELATIONSHIP "Queen Margaret" "Mother" +GET_RELATIONSHIP "King Arthur" "Mother" +GET_RELATIONSHIP "Bill" "Mother" +GET_RELATIONSHIP "Charlie" "Mother" +GET_RELATIONSHIP "Percy" "Mother" +GET_RELATIONSHIP "Ronald" "Mother" +GET_RELATIONSHIP "Ginerva" "Mother" +GET_RELATIONSHIP "Flora" "Mother" +GET_RELATIONSHIP "Victoire" "Mother" +GET_RELATIONSHIP "Dominique" "Mother" +GET_RELATIONSHIP "Louis" "Mother" +GET_RELATIONSHIP "Ted" "Mother" +GET_RELATIONSHIP "Remus" "Mother" +GET_RELATIONSHIP "Audrey" "Mother" +GET_RELATIONSHIP "Molly" "Mother" +GET_RELATIONSHIP "Lucy" "Mother" +GET_RELATIONSHIP "Helen" "Mother" +GET_RELATIONSHIP "Rose" "Mother" +GET_RELATIONSHIP "Hugo" "Mother" +GET_RELATIONSHIP "Malfoy" "Mother" +GET_RELATIONSHIP "Draco" "Mother" +GET_RELATIONSHIP "Aster" "Mother" +GET_RELATIONSHIP "Harry" "Mother" +GET_RELATIONSHIP "James" "Mother" +GET_RELATIONSHIP "Albus" "Mother" +GET_RELATIONSHIP "Lily" "Mother" +GET_RELATIONSHIP "Darcy" "Mother" +GET_RELATIONSHIP "William" "Mother" +GET_RELATIONSHIP "Alice" "Mother" +GET_RELATIONSHIP "Ron" "Mother" +GET_RELATIONSHIP "Ginny" "Mother" + +GET_RELATIONSHIP "Molly" "Father" + +GET_RELATIONSHIP "Bill" "Siblings"
\ No newline at end of file |
