operator + method
used by AnimatedSprite to combine the transform of itself and a Frame
Implementation
Transform2D operator +(Transform2D arg) {
return Transform2D(
translate: translate + arg.translate,
rotation: rotation + arg.rotation,
scale: scale * arg.scale,
anchor: anchor + arg.anchor,
);
}