What I recognize
- Naming of our classes (UPositionReport::UPositionReport()). If I remember correctly this part of the cpp file must be the constructor.
- I see float DeltaTime used in the cpp file. I’m sort of familiar with this from Unity, but barely.
- The header file has public and protected classes. I see virtual void being used here, and I know what that is from past C++ classes; this must be where the inheritance aspect of the game is, but it’s too early for me to say anything about it. I’m also trying to relearn this part of C++, so I’m waiting to see more.
- The header file has the constructor under public.
What I don’t recognize:
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BUILDINGESCAPE_API UPositionReport : public UActorComponent
{
GENERATED_BODY()
-
I don’t know what the above is.
-
The headers included in PositionReport.h
-
PrimaryComponentTick.bCanEverTick = true; I don’t know what this one is.