Guidelines - twiederk/ArmyBuilder GitHub Wiki
Classes
Classes / Files | Package | Description |
---|---|---|
App | root | Creates database connection. Upgrades database. Sets up dependency injection |
XAML-files | Gui | Contain layout of views. |
Code-Behind classes | Gui | Controller of views. Contain view logic. |
View model classes | ViewModels | Contain data of views. Have access to domain objects and repositories. Calls business logic of domain classes. Calls methods of repositories |
Domain classes | Domain | Contain data and business logic |
Repository classes | Dao | Contain database connection |
SQL files | db | Contain sql scripts to create schema and insert data |
Print classes | Contain print logic |
Profile names
Profiles of characters and troopers are prefixed with the German name of the army list. High Elves and Dark Elves share same profiles, so their prefix is Elfen.
- Elfen Basis
- Elfen Elite
- Elfen Champion
- Elfen Zauberer
- Elfen Tyrion
Profiles of war machines and monster just get the German name, because they are shared between different army lists.
- Greif
- Basilisk
- Mantikor