finished the shapesprite class