Home

2024

Worklog

LETSGO Game

Add destruction logic to PhaseManager

Date
July 25, 2024
Hours
0.75
Tags
UnrealCodeC++LETSGO

I was thinking about yesterday’s note on how Clock was a Phase and how that didn’t quite work in terms of Phases having a distinct beginning, middle, and end.

Realized that conceptually, Phases should absolutely be things that start → end. So renamed Clock StartClock

Then realized the PhaseManager doesn’t actually destroy SetTonic or any other phase. Simply removes it from the list of Phases it manages. I added logic to destroy the object after removing it from the Phases list.