TheMerphin / The-Saga-of-Scaling-Scotty_GameOff2023

HomePage
1 stars 0 forks source link

Refactor relevant classes to make use of Event Callbacks #47

Open TheMerphin opened 9 months ago

TheMerphin commented 9 months ago

Currently, when some event happens, another method gets called directly by getting the class reference.

The Observer pattern should be considered, thus making use of C# event Action class. For further information to events in general have a look at this.

Also, for all UI related update triggering events the Presenter Pattern should be considered.