diff --git a/README.md b/README.md index e69de29..d2431b9 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,68 @@ +```mermaid +classDiagram + class IEquipment{ + <> + +void Equip() + +void Unequip() + } + Food ..|> IEquipment + + class Person{ + <> + +string Name + +int Health + +List~Equipment~ Inventory + +Location Location + +int Money + +int Age + +void Walk() + } + AdultCitizen --|> Person + ChildCitizen --|> Person + IEquipment ..|> Person + + class AdultCitizen{ + } + class ChildCitizen{ + } + + class Location{ + <> + +string Name + } + Bank --|> Location + Store --|> Location + Person ..|> Location + + class Logger{ + <> + +void Log() + } + + class Food{ + +string Name + +int HealthPoints + } + + class Gun{ + +string Name + +int Damage + } + + class Store{ + +Dictionary~IEquipment int~ Inventory + } + GunStore --|> Store + EggStore --|> Store + IEquipment --|> Store + + class SimulationManager{ + +void StartSim() + +List~Equipment~ Equipment + +List~Location~ Locations + } + IEquipment ..|> SimulationManager + Person ..|> SimulationManager + Location ..|> SimulationManager + +``` \ No newline at end of file