Open nikoliazekter opened 9 years ago
Oh, this part is spooky, it was done by @saqsun , but I think it was also copied from somewhere. @saqsun can you help us out with advice on this? Thanks.
Apparently @saqsun can't help us with this.
yeah. I guess I'll take a look. but this is copied from somewhere, so had to be correct. I'll check
SimpleMediator
implementsNotifier
interface thrice! (kinda) https://github.com/UnderwaterApps/overlap2d/edit/master/overlap2d-common-api/src/com/puremvc/patterns/mediator/SimpleMediator.java This code is really weird. First, sinceMediator
already extendsNotifier
why do we need it to implementNotifier
again? Second, why doesn'tBaseNotifier
implementNotifier
? Third,BaseNotifier
isNotifier
andMediator
isNotifier
. I think that it's better to removeextends Notifier
fromMediator
to make code clearer. I actually was going to create PR with some changes but figured out that I need your agreement what do with all this code.