January 22, 2019
Satellites
This installment of my Object Management series adds a satellite behavior to the game, which makes shapes orbit other shapes. It's more complex than the other behavior, because we have to keep track of a relationship between shapes, which has to be saved and become invalid when a shape gets recycled. Also, when a satellite's focus is gone it becomes free and its behavior can be removed.
