Extract class SpriteComponent