malikhollins / HungerGamesSimulator

A hunger games simulator built using the .net blazor framework
0 stars 1 forks source link

Remove MessageCenter as a singleton object and make it apart of the SimulationService #5

Closed malikhollins closed 11 months ago

malikhollins commented 1 year ago

Message center doesn't need to be a singleton service. It can be instantiated as a part of the simulation, and you can use the simulation service to retrieve the messages. Will have to do extra work to handle null possibilities.