Quick question. maybe im missunderstanding something. I would like to inherit from EventListener in Cocos2dx v3. I think that having custom listener as an internal class within layer is cleaner then binding to existing function in this class.
So… the problem is that constructor is private… Yeach I can chcnge this, but what’s the deal? would Is be something strange or uncommon? I dont think so.
Can someone explain why is that constructor private?
to be more precise i just would like to keep stering logic in listener instead of creating it in layer. Layer has other tasks to do and i want to avoid maiking this class too complex.