Skip to content

3. Inheritance

Learning objectives

  • understand inheritance as a mechanism to extend existing code
  • know how to extend superclasses in Lua
  • understand inheritance as a subtype