GM: Parents

From GMpedia.org Wiki

Jump to: navigation, search

Inheritance is a way to form a new object in Game Maker using the properties of existing objects. The new object, known as the "child object", takes over (or inherits) attributes and behavior from an existing object called the parent object. This makes all of the parents' events available for the child object to use; however contradictions may lead to errors. If the inheritance graph becomes to deep it may cause the Yo-yo problem (more common in C++ and other object oriented languages).

This article is a stub, please help GMpedia expand it.
Personal tools