Added horizontal flipping and rotation properties to the Sprite and AnimatedSprite classes