Getting Classy With Inheritance In Lua
We’re going to cover the basics of inheritance in Lua. Lua doesn’t have native classes, so don’t expect things like multiple inheritance or similar to be practical. I basically have never used inheritance in Lua in any serious capacity outside of very few specific situations.
We’re going to cover basic inheritance using the default “class system” in Lua, how to add functions, and how to override functions.… Read the rest