StefanSchade / TaleForge

Text Adventure Logic Engine - A plattform to create immersive games without coding
0 stars 0 forks source link

UC Move Player: Setup domain #2

Closed StefanSchade closed 6 months ago

StefanSchade commented 6 months ago
  1. Setup the domain (aggregate design pattern)
  2. Provide Test stub to populate data initially
  3. Connect use case function
StefanSchade commented 6 months ago

Although I initially thought that the domain would be a good starting point as it is supposed to be independent of the other architectural layers, I came across a dependency. As I did separate location and passage in distinct aggregates ('location.rs' and 'passage.rs' I need to retrieve the passage as well as the future location. This requires access to the port layer - so this card has to wait for that implementation.