Getting Classy With Lua
We’re going to talk about working with classes in Lua. I assume you’ve read the basics of Lua and about Object-Oriented Principles. We are going to gloss over some concepts (like metatables) and instead focus on getting the basics down.
To start off, Lua is not really a truly object-oriented language. Classes can be implemented in several ways and there are several libraries and extensions which add classes.… Read the rest