We want to develop software to manage an epidemic. The software

allows users (who each have a nickname) to specify who they are in contact with. When
a person is contaminated, he reports it on the software, and the people with whom he is in
relationship automatically become contact cases (therefore potentially contaminated). The display
people uses a color (java.awt.Color) and a shape (java.awt.Shape). According to the status of
people, the display is different: a healthy person is displayed with a green circle, a
contact case person with an orange triangle and an infected person with a red triangle.
Propose a structuring of the software, specifying which design pattern(s) you
use. You can make a UML diagram to explain your solution. Write the code
corresponding.

Hello, I need help with this exercise, I really have no idea how to combine the Factory method (to create shapes) with the Observer design pattern (to change colors of shapes based on their condition).