I’m currently creating a game which a lot of features such as AI, tech tree, moveable components, construction, budget management, etc. All these features and their corresponding code seems to take a lot of space in my default files such as game state, player controller, pawn, and more. My game state is already pretty big in terms of lines of code.
I’m not quite sure how to structure this code, except for maybe taking some of the base functionality for my moveable components and my construction items, and move that code into actor components. But what can I do in terms of game state and player controller?