sprite moved to base class