hello,
in my game i have a lot of assets that should trigger certain actions when they are clicked, doubleclicked, stepped on, etc…
now the problem is that one and the same asset could trigger very different actions.
for example clicking a button may send a message to the server, while another instance of the same button class may also make the avatar jump around.
what is the best way to organize these different kinds of actions in terms of software - architecture. are actionlisteners an option?
thanks!
