Thanks a lot!
So if I want to use a StateMachine function inside the Controllers .cpp i need to:
-
forward declare (class FStateMachine;) inside Controller.h
And to use StateMachine->Transition(); i have to -
add #include “StateMachine.h” to the Controller.cpp, is this correct?
so the forward-declaration is to inform there will be a class named like that, and the header include in the .cpp gives me access to it’s function?