6 | | If we want to reuse the logic of entities inside other entities, I would propose some other component like CmpInventory, which can be shared by garrisoning, transporting, and whatever else needs it. But that's more of a cleanup of existing game logic; for corralling I don't agree that entities inside the corral is even the best solution. It won't be significantly harder to implement without using garrisoning but if we're afraid of adding code to UnitAI or the GUI, we might as well abandon capturing and a bunch of other unimplemented features. |
| 6 | If we want to reuse the logic of entities inside other entities, I would propose some other component like !CmpInventory, which can be shared by garrisoning, transporting, and whatever else needs it. But that's more of a cleanup of existing game logic; for corralling I don't agree that entities inside the corral is even the best solution. It won't be significantly harder to implement without using garrisoning but if we're afraid of adding code to UnitAI or the GUI, we might as well abandon capturing and a bunch of other [GameplayFeatureStatus unimplemented features]. |