I’ve double checked code changes for The Observer Pattern and am 99% sure it matches Ben’s. But when I play the game to test, I get ensure errors related to Begin Play on the Aiming Component, and the UE_LOG statement to confirm that OnDeath is broadcasting never produces a message.
Here’s a shot of the error messages:
And following relevant code for lecture changes:
tank.h:
tank.cpp:
TankAIController.h:
and TankAIController.cpp:
TankAIController.cpp has #Include for tank.h
Any ideas?