Where do I implement the message listener?

Hi guys! I am new to the Spidermonkey and I have a question: where do I implement the message listener? In a new class or in my Player class? Thanks

Where you want…
If it is related only with a single player, for practical purpose i would implement it on Player class so you can access to player methods without passing a reference to the listener.

I agree. Thanks!

Btw, If I reported you, ignore that. I think my phone bugged and it sent me to the report screen.