better solution for handling loading graphic from class for transition sprite