added javadoc to added method in Sprite