Animation flipping
Added damage function to entity