Migrating sprite class