Oct. 16, 2019
7:58 a.m.
Hello, Im busy with this project: https://github.com/RoelofWobben/Die Now I also want to try to add a DieHandler and a Die together. And I heared you can use the visitor pattern to solve this. As far as I understand the pattern I have to make a new class which contains only the + method. But I fail to understand to see how I can make a difference between the + of a Die and the + of a DieHandler. So can someone help me understand this pattern and maybe learn me step by step how to implement this in my code. Regards, Roelof