The current Sprite type is only used for sprite indices and doesn't store information about how it should be rendered. draw does support tinting, but the tint should be moved into a separate type called TintedSprite. Sprite can then be implicitly converted into TintedSprite with a full-white tint; otherwise, the tint could be specified in the constructor.
The current
Sprite
type is only used for sprite indices and doesn't store information about how it should be rendered.draw
does support tinting, but the tint should be moved into a separate type calledTintedSprite
.Sprite
can then be implicitly converted intoTintedSprite
with a full-white tint; otherwise, the tint could be specified in the constructor.