Hi everyone,
I cannot seem to understand how this would happen, so can someone clarify is this how it is done and if not the how should it be done.
The Background : I want to make something like an AoE game where a player can control many pawns but I cannot seem to understand the way I should implement it.
The Setting: The starting map as it is, working in c++ mainly.
The Idea: What I think it should happen is the following: Create a character class for the camera movement. Create a player controller for controlling the pawns. Create the pawns. What I have in my head is something like this: The Character marks the pawn and tells and tell the player controller to move it. The player controller calls a method on the pawn which executes the actual movement
The Problem: I still cannot solve the problem with all these references in code, so any help is appreciated. And again, I have the bad feeling that this is not the proper way to do things, so if anyone knows the proper way I would be grateful if he or she shares it.