This issue I have it for a while, almost 1 year or more. I tried diverse permutations but always got stuck at some point, when the whole idea will not work anymore. And I give up all the time on it.
I have a class with properties, fields and methods in it. I am thinking to add events to it, but im not that great at them yet. When i call this class into form1 I basically change some values inside class, and the "object" that represents it, will add value or change color or change position ,etc.
If i have a game let's say, when the character stays and I want him to look like it's breathing, this property should be inside the class? or outside, letting me choose when to breathe, how much, how long, how fast,etc. It's just an example. I had a lot of similar (and more complex) encounters with this subject and I simply freeze in the middle of it, not knowing how to manage it anymore.
Both ways are good! From outside or from inside class. But... sometime i need maneuverability, sometime is just in the way and i want it 'there' behind some close door(inside class I mean).
What your rules say about this thing? Should I change its values from inside the class? Or from outside?
Thank you.
What I have tried:
Make this "What have you tried?" textfield, optional ! Not everything is having a direct trial and error but an experience and many failures which can not be put that convenient into words as you(the website) expect. Im not criticizing anything, i just put an option on the table. Consider it or not, nobody cares, but you have something on the table for now.