I'm not at all a newbie to PHP, but OOP is a different story. I didn't even know PHP had OOP capabilities until about a week ago. Regardless, I've been trying to learn as much as I can about PHP's OOP. And almost everywhere I look, I'm seeing a main theme - PHP OOP is great in some situations, but it isn't right for everything.
Now, let me explain my situation. I run an online text-based game, and currently its all procedural. However, right now I'm going back through it and recoding it with a very organized "core," or sets of functions. For example, for characters, there's getName(), setName(), getHP(), setHP() etc. This very closely resembles accessor functions in OOP. But is it worth it to make "character" a class? What exactly would be gained by doing that?
I guess what I'm looking for is whether or not it would be worth the trouble to convert everything in my game to OOP, because I'm not really seeing the benefits of it. No matter how much I've seen people talk about how great it is, I can't find any specific examples where it would help me.
Thanks in advance for your help in this topic, I'm a little lost.