Inheritence is fundamental to object-oriented programming.
Object oriented programming enables the use of parent-child relationships where the chiled inherits the attributes and behaviours of the parent.
The parent-child relationship is usually formed when attributes of many objects are generalized into a parent object, and the other objects become children tailoring the parent. For example, if a game has obj_goblin, obj_troll, and obj_orc all with an HP and thirst for blood, these common attributes and behaviours could be generalized into par_enemy.
It is the concept that a child can inherit attributes and behaviours of the parent.
The child can also override a behviour or overload it.
If a child object has the same event as the parent, which block of code is ran first?
event_inherited.