Memento: Movie Night, Then Back to Normal

When movie night saves each light's brightness itself, by reading the light's fields, then puts them back, it breaks the day the lights gain a color setting; a Memento lets each light make a snapshot of its own state and restore from it, while movie night only holds the snapshots.

By

Updated

Cheat sheet: Memento: Movie Night, Then Back to Normal
Category
Data Structures
Level
Journeyman
Tags
encapsulation, Memento Pattern, OOP