Sometimes you create a new game object that uses most (or even all) of the exact same code as another object that you have already coded. Sometimes you want an object to group several different objects so that they behave in similar ways. Sometimes you might like to control several objects at once using just one group name.
This is when the concept of Inheritance can help save you time, lines of repetitive code, and make your game design more efficient. Inheritance gives you the ability to create relationships between objects and allow them to share coded events. Read on to learn more about this powerful concept!