ravenous-tools/weaponry/helpers/workflow.md

24 lines
808 B
Markdown

# TO-Impl List
- Initial Object Representation
- Final Object Representation
# Workflow
A B C
Database -> <Structs> -> <Weapons> -> Balancing data
-> Exported data
# Description
- A : Use structs defines in weaponry_structs
: impl From<ForeignType> for all weapon parts
- B : Every part can be converted to a weapon(ish)
: Use the correct solver to add all parts
- C1 : Use the traits to generate the tex data
# Strategy
Since the structs will become more than just weapons but will become craft afterwards, polymorphism is the key
The creation algorithm will pick a Strategy depending on the user's choice and build a final weapon depending on it
The creation will implement an iterator to go with itertools / rayon ?