public Texture2D Texture;
However I don't think the Texture is ever accessed from outside the sprite class. So couldn't it be just be declared as private without a property?
I'm very confused on the actual differences between public fields and properties. I know properties let you control the set conditions as well as do calculations in the get part. But all the time in Jaeger's book I see private fields with generic { get; set; } properties. So why does he do that in some cases but not all? I can't see any difference.

New Topic/Question
Reply


MultiQuote





|