Replaced LibGDX Animation class with custom Sprite class.