On Sat, 29 Aug 2015 13:21:22 +0200 win...@genial.ms wrote: > I have doubts about listeners and actions doing controller-like things. > For example, CanvasMouseListener is deciding on which panels to open and > then directly invoking these commands. > Where do you think lies the cutoff point between allowed commands and asking > the controller for some reaction?
I doubt there is a definitive cutoff ATM. However, to me, a "command" implies a server interaction (although there are exceptions like "wait"), and AFAICT these are indeed all now in the client controller. So I am less worried about CanvasMouseListener bringing up panels, which is a client-only effect. Cheers, Mike Pope
pgpquGzVKdDgP.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers