it should have said Move.new() sorry look now
I like the framework that you have laid out for me here, I will look into changing the system to something like that, I appreciate the length and detail of responses you have provided.
Donât take my word fully though. OOP is still something Iâm fresh out of water for. Inheritance is one thing I canât get, but classes in general are fine. I donât think pure data is the proper way to do inheritance but itâs a good start if youâre new to the concept.
The post that you linked (which is a strong OOP resource) has a whole section on inheritance so itâs worth trying to dissect the information laid out there. I believe that it has the ânested metatablesâ thing I was talking about earlier. Youâll notice that the Truck object is created from using the Car object.
Yeah, I used it as basically a one-to-one reference since I had no idea about anything OOP related, I donât think many people are familiar with it.
That is why I was confused that when I used almost the same syntax that it errored.
I have realized how big of a task figuring out this whole OOP concept is.