paulvangentcom / python_corona_simulation

An agent-based simulation of corona and other viruses in python
GNU General Public License v3.0
292 stars 76 forks source link

Abstraction to environment #27

Closed Mokjac closed 3 years ago

Mokjac commented 3 years ago

Description Added Environment object which contains the walls environment.py Updated population.py, visualizer.py and motion.py to handle the object as a root instead of unrestricted access. (not that python can stop you as everything is public.) Fixes # (issue)

Type of change Applied Design Pattern Aggregation to environment.py

Other Notes

Thanks for this great program paul.