Created the animated sprite entity class