Added some animation methods and properties to the SpriteEntity.