Jan-15-2020, 07:29 PM
No need to apologize. Learning and helping others learn is what a lot of us are here for. That and the spam, spam, spam. Lovely Spam!
Take a look at class inheritance next and code a proper base class for your Crates which can become the parent class for all the crate types.
I suggest you work in a sandbox environment with just the classes and some test code for now rather than trying to incorporate everything directly into your game. OOP is one of those things you really to need grok before you try to use it.
Take a look at class inheritance next and code a proper base class for your Crates which can become the parent class for all the crate types.
I suggest you work in a sandbox environment with just the classes and some test code for now rather than trying to incorporate everything directly into your game. OOP is one of those things you really to need grok before you try to use it.
"So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth!" - Tim the Enchanter