I’ve followed the updates in adding forward declarations and find they’ve broken TankAIController. It now will not compile. Here is a snip of the compile error log:
As you can see, ATank is not recognized, this despite a forward declaration in TankAIController.h and #include of Tank.h in TankAIController.cpp. Here is a snip of #includes in the .cpp file:
If I hover above the Intellisense error line for the first #include, the error states that source file TankAIController.h can not be opened though a window in VS with that file is open right next to it. When entering the #include for that line, Intellisense only suggests the generate file, not the .h file.
Here’s the #Includes from TankAIController.h as well as the tabs showing the two realted files open in the IDE.`
I’ve reverted and retried the code changes and this file continues to fail. I must be missing something on this, but I can’t see it.