dion
September 25th, 2009, 23:02
i really don't know how to explain this properly, so sorry if it'll confuse you.
everyone knew class concept introduced since c++. as in my learning process in college, it's just really like a passing by, heard from left ear and gone out thru the right one. well, in at least i pass the exam. after some years, i still really can't grasp the class concept. i was once learn to code a visual component in delphi, which is using somekind of inheritance. from there i learn a bit about what kind of class, from delphi point of view.
a tale like, at first there is a code, and then there is a variable, then there is a class, well it just maybe. so, the class is somewhat providing a way to accomplish a task where a code and variable alone can do? or else?
i was always thought that OOP in game dev, should at least give a simple concept about how class concept is. i knew in delphi, class consists some vars and some functions. those functions then interact as it is a single object providing a common interface. it still blurry, as i don't really know why is there a class, should code and var alone can't do?
regards
everyone knew class concept introduced since c++. as in my learning process in college, it's just really like a passing by, heard from left ear and gone out thru the right one. well, in at least i pass the exam. after some years, i still really can't grasp the class concept. i was once learn to code a visual component in delphi, which is using somekind of inheritance. from there i learn a bit about what kind of class, from delphi point of view.
a tale like, at first there is a code, and then there is a variable, then there is a class, well it just maybe. so, the class is somewhat providing a way to accomplish a task where a code and variable alone can do? or else?
i was always thought that OOP in game dev, should at least give a simple concept about how class concept is. i knew in delphi, class consists some vars and some functions. those functions then interact as it is a single object providing a common interface. it still blurry, as i don't really know why is there a class, should code and var alone can't do?
regards