Imagine a turn-based tile game, that generally looks like Heroes' combat view. Except for the fact a player can choose any of his units to command.
Our team is implementing the game according to MVC paradigm.
Some logic needs to be defined in order to allow selecting only allied units, for instance. And the selected one should be highlighted by the View.
For now we have made a Controller responsible for this. But to me it feels strange when the View is rendering data that comes from the Controller itself instead of the Model.
Is there any common practice to put such logic in Model or Controller?