I’m not liking that the TriggerComponent directly deals with UMover.
It seems like it would be better to use the observer pattern and have the UMover subscribe to a trigger event. That way the TriggerComponent could be used to trigger anything and not just the UMover::SetShouldMove().
It would but IIRC Sam didn’t want to cover delegates yet. Stephen goes over them in the next section.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.