Implicitly clone a Color when setting it #840
Labels
enhancement
Label applied to enhancements or improvements to existing features
good first issue
good for people new to open source and Excalibur
Milestone
Context
When setting an ex.Color on an Actor, Excalibur does not implicitly clone the Color. This currently has the potential to cause confusion if multiple Actors are set to the same color, and then graphics transformations are applied that affect that Color (for example, changing the alpha channel value).
(see also #797)
Proposal
Clone ex.Color when it is set, to avoid potentially unintended effects across multiple Actors.
The text was updated successfully, but these errors were encountered: