Overlays: Difference between revisions
imported>Dramforever m Reword the description of the overlay graph |
imported>Dramforever m Add a heading to improve table of contents structure |
||
Line 24: | Line 24: | ||
The names <tt>self</tt> and <tt>super</tt> might remind you of inheritance in object-oriented languages. In fact, overlays are exactly the same thing as subclasses, with regards to overriding and calling methods. This data flow is also how objects know which method to call. This is probably why the two arguments got their names, too. | The names <tt>self</tt> and <tt>super</tt> might remind you of inheritance in object-oriented languages. In fact, overlays are exactly the same thing as subclasses, with regards to overriding and calling methods. This data flow is also how objects know which method to call. This is probably why the two arguments got their names, too. | ||
== Using overlays == | |||
=== Applying overlays manually === | === Applying overlays manually === |