jerkytreats

Search

Home

2025

2024

Worklog

LETSGO Game

On Tech Debt

Building A Music Engine

jerkytreats
jerkytreats
/LETSGO
LETSGO
/
Add destruction logic to PhaseManager

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

Rename Clock -> StartClock

JerkyTreats

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.

Add destruction logic for phases

JerkyTreats