Observer Pattern und Dispatcher
The Unfraggable Bulk erklärt erneut das observer und dispatcher pattern.
Before I get into the code, I’ll briefly go over how things will work. First, we need an observer to collect observable events. This observer will be instanciated at the start of our program and will be available to our dispatcher. The dispatcher will take in observable events and pass them to our observer. Finally, at the end of the program, we will loop over all of the events collected with our observer (the observable events) and put out a nice debug display that makes use of all of that info.

